Quantcast
Channel: Internet Explorer 8, 9, 10 Forum
Viewing all articles
Browse latest Browse all 1908

How do I disable the "onbeforeunload" event that annoying websites are now putting into their pages and pop-ups.

$
0
0

The "onbeforeunload" event forces me to choose TWICE that I want to close their annoying website (or pop-up) by popping up ANOTHER window that asks me if I REALLY want to leave the webpage after I click the 'X' to close the window. 

    Anyone know a method to disable this?  HINT - Disabling ALL pop-ups does not stop this window from coming up.

    If you are not familiar with the window, Microsoft has a sample of it here.  Open the window (below) and then click the X to close it, and you will see the "Do you REALLY want to close this window" message.

http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/onbeforeunload.htm


McRob42


Viewing all articles
Browse latest Browse all 1908

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>