Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
detecting that browser BACK button was clicked
i need to create a script that will popup an ad. the user WILL NOT get the ad if they click on the browsers BACK button or CLOSE the browser w/ the little upperright X box.
in IE i've found a way to detect it by using screenX & Y's.
But i have not found a way to detect that the user has clicked the BACK button on NS. has anyone ever done this before? thx.