I believe this annoying pop-up is generated by the JavaScript OnBeforeUnload() event. There have been a number of Firefox users on Mozillazine complaining about it. Other than killing all JavaScript on the site, would it make sense to provide an option in NS to ignore the event for all sites?
RobertJ (Mozillazine Moderator)
.
Are you sure you want to navigate away from this page?
Are you sure you want to navigate away from this page?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0) Gecko/20100101 Firefox/10.0
Re: Are you sure you want to navigate away from this page?
http://www.pcqanda.com/dc/dcboard.php?a ... 838#539851
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:11.0a2) Gecko/20120123 Firefox/11.0a2 SeaMonkey/2.8a2
Re: Are you sure you want to navigate away from this page?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0
Re: Are you sure you want to navigate away from this page?
Good find.
(I wonder why someone else didn't recall that
.)
And it still works.
Test page:
(I wonder why someone else didn't recall that

And it still works.
Test page:
(Enable JavaScript), open link in new window, click the (window) Close button.
Like this, onbeforeunload Demo ?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:11.0a2) Gecko/20120123 Firefox/11.0a2 SeaMonkey/2.8a2