Click a link and need to go back 10x to get back. Yes, I enjoy the footballs.

62 points

I don’t understand why browsers support this “functionality”.

permalink
report
reply
54 points

It’s not for this, of course. It’s because in the world of single page applications built in react and angular where there is no physical back, like no actual server page to go back to just JavaScript, you have to code in what the back button means. Even though there’s no server calls to ask for a new page. New page. Most people still expect that forward and back will still go forward and back in standard navigation.

Sites like this it’s pretty clear that they just overwrite that with the last 20 calls to their own page, but the alternative is that single page applications would not be able to have forward or back functionality

permalink
report
parent
reply
1 point

if(this == this.previous) continue;

permalink
report
parent
reply
25 points

Great I’ll just add a unique guid to each path that is ignored and returns to the same place. You show me a 10 foot fence I’ll show you an 11 foot ladder.

permalink
report
parent
reply
3 points

It’s a very “dumb” implementation of a generally useful feature. Browsers don’t keep track of how many times you’re redirected to the same site or try to consolidate the back-button list accordingly, but they certainly could. Wouldn’t be surprised if there was a plugin to this effect.

permalink
report
parent
reply
12 points

They actually do. To avoid infinite loops. If a URL redirects to the identical URL for more than ~5 times most browsers will refuse to load and show an error instead.

That’s why sites like this will generate new URLs with the same content.

permalink
report
parent
reply
109 points

This could easily be fixed by the browsers but they don’t. Sure wish these back button tricks would stop. Especially news sites try to keep you from getting back to your search and makes your page refresh over and over. I wonder if that behavior counts as hits to their advertisers.

permalink
report
reply
46 points

I just default to opening in a new tab because of shitty UX like this

permalink
report
parent
reply
35 points

I don’t know about “easily.” replaceState() is actually intended to make single-page apps easier to use, by allowing you to use your back button as expected even when you’re staying on the same URL the entire time.

Likewise, single-page apps are intended to be faster and more efficient than downloading a new static page that’s 99.9% identical to the old one every time you change something.

Fixing this bad experience would eliminate the legitimate uses of replaceState().

Now, what they could do is track your browser history “canonically” and fork it off whenever Javascript alters its state, and then allow you to use a keyboard shortcut (Alt + Back, perhaps?) to go to the “canonical” previous item in history instead of to the “forked” previous item.

permalink
report
parent
reply
9 points

I can handle life without the legitimate use case if it means no more clickjacking bs from companies that should know better

permalink
report
parent
reply
15 points

I’d prefer not to let the bad actors dictate browser design.

“Let’s get rid of images since companies can use images to spoof browserchrome elements.”

“Let’s get rid of text since scammers can pretend to be sending messages from the computer’s operating system.”

“Let’s get rid of email since phishing exists.”

Nah. We can do some stuff (like the aforementioned forked history) to ameliorate the problem, and if it’s well-known enough, companies won’t find it necessary anymore. Heck, browsers like Firefox would probably even let you select Canonical Back as the default Back Button behavior, and then you can have the web the way you want it (like people who disable Javascript).

permalink
report
parent
reply
2 points

permalink
report
parent
reply
6 points

Pop a window open with a your app in it (with the user’s permission) without a back button if you want that.

A web page should be a document, not an experience.

permalink
report
parent
reply
5 points

That would absolutely make everything worse, no question; the web should be more integrated, not less. We shouldn’t incentivize even more companies to silo off their content into apps.

permalink
report
parent
reply
207 points

Yeah, I also hate back-button hijacking. I suspect some websites do it to artificially force more page views for ad revenue. Try a long-press on the back button to view the history for that browser tab and click on the most recent page you think won’t redirect.

permalink
report
reply
81 points

I usually right click the back button and go 2 entries back. Done.

Microsoft also does this a lot on some of their sites.

permalink
report
parent
reply

Usually with this, it’s like 20 entries, so pushes everything else off.

The ones where it’s only a couple entries mostly seem to be the ones where there’s multiple articles on a single page and it’s at least might be attempting to be helpful?

permalink
report
parent
reply
13 points

I usually just block the site.

permalink
report
parent
reply
20 points

Youtube does it, and it just continues to blast the wrong video you accidentally just auto-started because instead if fucking off, it shows other videos with the bad video getting just reduced.

Aaargh for the state of todays internet

permalink
report
parent
reply
44 points

I use YouTube on desktop daily and I’ve never had this happen to me.

permalink
report
parent
reply
5 points

It does it on mobile

permalink
report
parent
reply
2 points

I’ve had this happen only when I go back too quickly, before the page can completely load in

permalink
report
parent
reply
3 points

I hate that this is even a feature in the web standard. A result of some massive corporate corruption for sure.

permalink
report
parent
reply
2 points

I recently looked into this after it seemed like Facebook messed with my back button on a private mobile window:

Someone pointed out that it’s nice to have, for example, your email provider know that you probably want to go back for a message to your inbox instead of going back to the previous page.

But what if browsers monitored which sites abused the feature and showed a pop-up when you click the back button, just like they offer to show you notifications? They could show you:

This site has been reported to hijack the back button. Would you like to go back to the last domain that you visited?

and offer to remember the setting.

permalink
report
parent
reply
12 points

MASSIVELY infuriating.

permalink
report
reply
40 points

Open all links in new tabs.

permalink
report
reply
10 points

This sounds horrible. I already have a tab issue

permalink
report
parent
reply
5 points

Either use tree tabs, or just close it when you’re done.

permalink
report
parent
reply
4 points

You’re clearly using tabs wrong….

permalink
report
parent
reply
3 points
*

What helps with this is clicking links with mousewheeldown, I automatically opens in a new tab. Also MWD on the tab label will close it, so you don’t have to aim for the ‘x’.

A mouse with thumb buttons is really handy as they do foreward and back, double clicking that gets you out of the issue caused in op

permalink
report
parent
reply

Mildly Infuriating

!mildlyinfuriating@lemmy.world

Create post

Home to all things “Mildly Infuriating” Not infuriating, not enraging. Mildly Infuriating. All posts should reflect that.

I want my day mildly ruined, not completely ruined. Please remember to refrain from reposting old content. If you post a post from reddit it is good practice to include a link and credit the OP. I’m not about stealing content!

It’s just good to get something in this website for casual viewing whilst refreshing original content is added overtime.


Rules:

1. Be Respectful

Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.


2. No Illegal Content

Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means: -No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)


3. No Spam

Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.


4. No Porn/Explicit

Content


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.


5. No Enciting Harassment,

Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.


6. NSFW should be behind NSFW tags.

-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.


7. Content should match the theme of this community.

-Content should be Mildly infuriating.

-At this time we permit content that is infuriating until an infuriating community is made available.


8. Reposting of Reddit content is permitted, try to credit the OC.

-Please consider crediting the OC when reposting content. A name of the user or a link to the original post is sufficient.


Also check out:

Partnered Communities:

1.Lemmy Review

2.Lemmy Be Wholesome

3.Lemmy Shitpost

4.No Stupid Questions

5.You Should Know

6.Credible Defense


Reach out to LillianVS for inclusion on the sidebar.

All communities included on the sidebar are to be made in compliance with the instance rules.

Community stats

  • 7.1K

    Monthly active users

  • 922

    Posts

  • 59K

    Comments