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:
Could we please get an option to eliminate this nonsense on whitelisted pages once and for all? I tried a couple of Greasemonkey scripts that advertise exactly this but they didn't work.
teevox.com does this for example.
Cheers.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
OK, went to teevox.com to check this out. Could they be sending the alert through Flash? Because if I don't allow the Flash plugin (through SeaMonkey click-to-play) I don't get the page leaving confirmation...
Anyway, if bypassing these confirmations is within the scope of NoScript, +1 to this request. Dialogs of such an intrusive nature should be fully controllable by the user.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22
window.addEventListener("load", function() window.onbeforeunload=function(){for(let o of document.querySelectorAll("object,embed"))o.parentNode.removeChild(o);}, false)
window.addEventListener("load", function() window.onbeforeunload=function(){for(let o of document.querySelectorAll("object,embed"))o.parentNode.removeChild(o);}, false)
window.addEventListener("load", function() window.onbeforeunload=function(){for(let o of document.querySelectorAll("object,embed"))o.parentNode.removeChild(o);}, false)
window.addEventListener("beforeunload", function(e){e.stopImmediatePropagation();for(let o of document.querySelectorAll("object,embed"))o.parentNode.removeChild(o);}, false);window.addEventListener("load", function(){window.onbeforeunload=function(){}},false);
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:30.0) Gecko/20100101 Firefox/30.0 SeaMonkey/2.27a2