We are coding a popup window on exit of our site. We do not want this popup to occur if someone hits the back button. How do we stop this. Any hints?
Welcome to The Scripts and the Javascript forum (where you've been directed to!)
Show your code. I'm assuming you're using onunload to display the popup window.
One thing is that for a website on the internet, it is bad practice to show a popup when exiting a site. It's annoying for the user and popup blockers will probably block it anyway. If, however, it's for specific users and they expect the popup, then of course there's no problem.