6 psc

How to implement web forwarding

Have you noticed how some web sites disable the BACK button on your browser? Some obnoxious web sites may do this on purpose; with other web sites this happens simply because many people don't know how to correctly forward the browser to another web page.

We have programmed our own little javascript to implement forwarding in a friendly way. (Sorry, it doesn't work with MSIE 5.5)

Click here to go to a web page which will forward you immediately (right back to here!).

But now watch: after you have been forwarded back to here, the "back" button will still work. When you click the "back" button, you will go back to the forwarding page. No nasty looping.

Try it!


To see how it works, go back to the forwarding page.  Then view the source of the forwarding page to see the javascript code.
scoutway   Scouting Web Pages   Forward and back