Search found 48 matches

by bgmnt
Mon Nov 18, 2013 1:23 pm
Forum: NoScript Development
Topic: Stop pages from nagging the user when closing them
Replies: 9
Views: 3744

Re: Stop pages from nagging the user when closing them

Try this surrogate. noscript.surrogate.noflashexit.replacement: window.addEventListener("load", function() window.onbeforeunload=function(){for(let o of document.querySelectorAll("object,embed"))o.parentNode.removeChild(o);}, false) noscript.surrogate.noflashexit.sources: @^http...
by bgmnt
Sun Nov 17, 2013 5:19 pm
Forum: NoScript Development
Topic: Stop pages from nagging the user when closing them
Replies: 9
Views: 3744

Re: Stop pages from nagging the user when closing them

Hi, thanks for the suggestion. Unfortunately it doesn't work, I still get the prompt.

/e: That's also what one of the Greasemonkey scripts tried to do.
by bgmnt
Sun Nov 17, 2013 3:53 pm
Forum: NoScript Development
Topic: Stop pages from nagging the user when closing them
Replies: 9
Views: 3744

Stop pages from nagging the user when closing them

Hey, did a quick search, couldn't find a similar feature request. Some pages think it's OK to throw a warning/confirmation dialog in your face when you try to close them: http://i.imgur.com/K8iQLOp.jpg Could we please get an option to eliminate this nonsense on whitelisted pages once and for all? I ...