Helpful Information
 
 
Category: Antivirus Protection
back button hijacking

I'm trying to register keywords with Goto for a site and they are telling me that they cant because my back button is not working on my site in Netscape. How do I correct this problem? they call back button hijacking.

Not quite sure I understand what you mean. What is the URL of the site and we can try it for ourselves.

Regards

Back button highjacking is when you redirect a user with javascript or meta to another page.

If they click back, they'll once again be redirected forwards again, meaning to step back to the page they came from , they will ned to select the page from the dropdownmenu by holding the back button down...

Sites like that are annoying, so it's understandable. The only cure is of course to not redirect people unless you absolutely have to.

Jon

You can redirect with...
window.location.replace("newpage.htm") instead of
window.location = "newpage.htm"

This will replace the current page in the history list.

Let's keep this in forums, shall we computervisions? I would have to see your site, but you may have a redirection of some kind that is not conditional, or conditional based on a persistent fact. So, when someone tries to "back out" of the page, they are activating that redirection again, bringing them forward again. For instance, if I had a page that had a meta refresh automatically changing the location, ever time you hit the back button you would be meta refreshed again. But, if you had the code...
window.location.replace("newpage.htm") instead, the page with the meta refresh (or whatever redirection code) would disappear from the history list. Then if someone used the back button, they would be taken to the page before the offending page. Get it? Got it!

The web site I am having this problem is

www.beforeubuyinc.com

Thaks for all your help

There is absolutely no back button hijacking going on at that site.
(IE6 & NS6.1)










privacy (GDPR)