'On Close' or 'On Exit' Messages

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey

'On Close' or 'On Exit' Messages

Postby compupix » Sun Oct 01, 2017 4:48 pm

Is there a way to block all (or most) messages that appear when you try to leave a page?
Thanks!
compupix
 
Posts: 1
Joined: Sun Oct 01, 2017 4:39 pm

Re: 'On Close' or 'On Exit' Messages

Postby lewisje » Mon Dec 04, 2017 6:53 pm

It's all about the beforeunload handlers, and although there is no way for a UserScript or an extension to clear out all such handlers from a specific page, Firefox does have an about:config preference that disables such prompts for all pages (dom.disable_beforeunload): https://developer.mozilla.org/en-US/doc ... load#Notes
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
lewisje
 
Posts: 2730
Joined: Mon Jun 14, 2010 12:07 pm


Return to Adblock Plus for Firefox support

Who is online

Users browsing this forum: Google [Bot] and 13 guests