Re: How to disable browser's back- and refresh-Button

From: Date: Mon, 19 Apr 2004 16:12:25 +0000
Subject: Re: How to disable browser's back- and refresh-Button
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-183823@lists.php.net to get a copy of this message
Hawkes, Richard wrote:
Yes, I think unconstructive e-mails are a little rude aren't they?
As opposed to asking an offtopic question to which there are hundreds of answers to if one would just ask on the right list or, (perish the thought) go to http://www.google.com?
So here's a bit of JavaScript that removes everything! I'll let you fiddle with the settings: <html> <head> <title>Example</title> <script language="JavaScript"> function openWindow(webPage) {
    window.open (webPage, 'helpwindow', config='height=300, width=600,
toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, directories=no, status=no'); } </script> </head> <body> <a href="javascript:openWindow('whatever.html')">WHATEVER!</a> </body> </html>
And this stops me from right clicking on the page and choosing "Back" how? -- *********************************************************************** * _ __ __ __ _ * John Nichel * * | |/ /___ __ \ \ / /__ _ _| |__ ___ __ ___ _ __ * 716.856.9675 * * | ' </ -_) _` \ \/\/ / _ \ '_| / /(_-<_/ _/ _ \ ' \ * 737 Main St. * * |_|\_\___\__, |\_/\_/\___/_| |_\_\/__(_)__\___/_|_|_|* Suite #150 * * |___/ * Buffalo, NY * * http://www.KegWorks.com john@KegWorks.com * 14203 - 1321 * ***********************************************************************

« previous php.general (#183823) next »