PSA: Please stop hijacking browser back behavior

31 points by modzu ↗ HN
nobody wants to be trapped in your web app purgatory

8 comments

[ 21.1 ms ] story [ 282 ms ] thread
Why in 2020 is this still a problem? I was just encountering this with a rogue ad on my phone since the new Firefox update rendered ublock origin unusable for the time being.
Ublock Origin is supported on latest mobile firefox. What are you saying?
This isn't a bad thing.

It is a bad thing when done poorly. The AWS console is a pretty bad example of it.

When would it be a good thing?
It is absolutely a bad thing. I've been in the web dev space for 15+ years now, and I've never seen useful back button hijacking yet.
I've wondered about the potential for subscription search engine that partly works by seriously punishing things like hijacking the back button. Hijack the back button your website is now a tier 5 result with a phat warning.
News sites & their Ad linked sites tend to do this to keep you stuck in their maze
Looking at you, Microsoft documentation