W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1999

Re: Disable Back & Forward button on the Broswer

From: Christopher William Turner <cwturner@cycom.co.uk>
Date: Sat, 1 May 1999 05:35:03 -0400 (EDT)
Message-ID: <372AC502.97D39D8@cycom.co.uk>
To: "Bi, Xiaolian" <Xiaolian_Bi@tri.sbc.com>
CC: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
Look at the HTTP1.1 and HTML4.0 specs on www.w3.org
You will not be able to disable browser buttons  in a standard way.

Consider writing your own browser without buttons (there is a hotjava bean at
java.sun.com and also
some html editor classes in swing). If all URLs are within your control you
could
go via a servlet which detects and redirects back and forward requests (but
the brower
usually buffers these pages).

You probably only  need to disable buttons because you have not found an
elegant
design for your application. Think again.

An easy solution is to add a banner at the top of each page saying
"please do not use the back and forward buttons on your browser".

You should direct your request to another newsgroup (for netscape or IE)


Bi, Xiaolian wrote:

> This is more or less a general question. Given the large knowledge of this
> mailing list group, I thought I give it a try.
>
> I am looking for a way to disable the back & forward button on the Web
> browser (I use netscape). Is this possible? Can it be done from Java
> servlet?
>
> Thanks in advance.
>
> Xiaolian



--
Chris Turner, http://www.cycom.co.uk/
Received on Saturday, 1 May 1999 06:53:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT