Websites that don't let me leave!

I hate them!

I really don't know much about websites other than basic [X]HTML/CSS and javascript, and I know a page can hook the browser's 'back' button (a horrible design, IMHO).

Is there any way I can prevent sites from hooking it?
Some webpages can auto-refresh continually. So maybe this is the problem, and no actual "hooking" happens?

I can give YouTube as an example. When you first visit the link below (open it in the same tab) it should refresh itself once, so when you press Back once, nothing seems to happen.
https://www.youtube.com/
No, I'm talking about little popups that say "oh no! do you really want to leave us? [click the little button and make believe that you aren't giving us permission to do anything unsavory]"
closed account (N36fSL3A)
Or when you hit back and then it just goes to the same page :|
Duoas: in Chrome, any kind of dialog box generated by the web-page will have a tick-mark to prevent additional messages from the page. Maybe you can find a setting or plugin to do it permanently for some pages or websites.

There are some really nice uses to the functionality, though - all too many times I have been typing a whole long message only to butterfinger some keys and somehow close or navigate away from the webpage. On sites like this where the post box is generated by javascript, there is no way for the browser to re-fill the form for you when you try to go forward to the webpage again. It's also inconsistent for webpages where it can. The "are you sure" dialog has saved me many times on some forums.

Also, GitHub uses it for fancy animations when navigating repos in the online interface.
closed account (3hM2Nwbp)
https://addons.mozilla.org/en-US/firefox/addon/noscript/

Never leave homepage without it.
Topic archived. No new replies allowed.