#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Posts
    2
    Rep Power
    0

    Question 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.
  2. #2
  3. Corporate Stooge
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Aberdeen, Scotland
    Posts
    134
    Rep Power
    14
    Not quite sure I understand what you mean. What is the URL of the site and we can try it for ourselves.

    Regards
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Location
    Oslo, Norway
    Posts
    9
    Rep Power
    0
    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
  6. #4
  7. No Profile Picture
    Beelzebub
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Location
    The nether regions...ok, San Diego
    Posts
    164
    Rep Power
    14
    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.
  8. #5
  9. No Profile Picture
    Beelzebub
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Location
    The nether regions...ok, San Diego
    Posts
    164
    Rep Power
    14
    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!
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Posts
    2
    Rep Power
    0

    Back button Hijacking


    The web site I am having this problem is

    www.beforeubuyinc.com

    Thaks for all your help
  12. #7
  13. No Profile Picture
    Beelzebub
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Location
    The nether regions...ok, San Diego
    Posts
    164
    Rep Power
    14
    There is absolutely no back button hijacking going on at that site.
    (IE6 & NS6.1)
    Last edited by evildj; August 17th, 2001 at 01:33 PM.

IMN logo majestic logo threadwatch logo seochat tools logo