Author Topic: Stoping pages from disabling the "go back" feature  (Read 916 times)

Steve V.

  • Newbie
  • *
  • Posts: 4
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
Stoping pages from disabling the "go back" feature
« on: July 07, 2002, 03:05:58 PM »
Hi I use proxo 4.3 with the default headers and web page filters. The config I using is more or less the default configuration list! (As it is from the developer).

I wonder if there is a filter available that prevents Webpages disabling the "go back" feature! I think it is very annoying when you come to a site and it is not possible to use the "go back" button. Sorry cannot come up with an example link, but I think you now what I mean!

Thanks!


 

pooms

  • Jr. Member
  • **
  • Posts: 75
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
Stoping pages from disabling the "go back" feature
« Reply #1 on: July 08, 2002, 06:12:28 AM »
I guess it depends on what you mean by disabling the "go back" feature.
Most times I've seen this it isn't actually caused by disabling
the "go back" feature but is caused by a page that does a redirect to
another page. Once you are viewing the page that you've been redirected
to, and you try and use the "go back" feature, you go back to the
page doing the redirecting, and then get redirected back to the page
you were one. So it looks like the "go back" is disabled.
Here is one example that I occasionally visit:
http://www.imagesatintl.com/
When you go to that URL, you get a "sniffer" page that uses javascript to
check browser characteristics and redirect you to an appropriately sized
page. Once you are on that page, if you try to "go back" you go to the
sniffer page, which once again redirects you. Sometimes if you "go back"
twice very quickly you can get past the redirection before it has time
to work, but the easiest way is simply to use the browsers back history list
to go back two pages. (In IE, right click on the back button, in Opera
click on the little arrow to the right of the Back button).

(BTW, if you visit the URL above, your filters may prevent the "sniffer"
page from working)

Here's another example: http://www.spotimage.fr/ in this case
they try to redirect you to a french version if they can detect that
your browser language is french.

 
 

Scott Lemmon

  • Full Member
  • ***
  • Posts: 103
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://proxomitron.cjb.net/
    • Email
Stoping pages from disabling the "go back" feature
« Reply #2 on: July 09, 2002, 03:02:43 AM »
One way to avoid this is to replace any foo.location="something" with foo.location.replace("something");  This overlays the entry in the browser's history so you don't hit it again when you go "back".  Really, it's what a well designed redirect script should use to begin with.