Or at least a "FORCE CLOSE" option for malicious webpages.
Additional System Details
- User Agent: Mozilla/5.0 (X11; OpenBSD i386; rv:18.0) Gecko/20100101 Firefox/18.0
Noscript may work for this? https://addons.mozilla.org/en-us/firefox/addon/noscript/
If pages are abusing the "onbeforeclose" event -- which is the one that asks whether you want to leave -- hopefully someone can come up with a way to solve that globally rather than having users have to come up with a workaround in the moment.
I have this problem and it's driving me crazy. Where and how, in about:config do I make the necessary changes to prevent this highly irritating message from ever appearing? I've searched the entire list of entries in about:config but found none that seemed to come anywhere near related to this "onbeforeclose" thing, the one that asks "are you sure?" whenever I try to exit many (though not all) web pages.
I previously tried to find some other options for individually turning off this event, but I couldn't find a way. Someone might be able to create an add-on to solve this problem, but it will take someone cleverer than I.
Extensions that disable scripts on a site-specific basis:
- YesScript does not preemptively block scripts on every site. If you have to visit a lot of random sites and want to take a paranoid approach of having scripting blocked until you see as much of the site as you can see without running scripts, then the NoScript extension would be for you. But even then it's "all or nothing".