PDA

View Full Version : Disable Right Click or selected Browser features on pages


Sinbad
10-26-2002, 10:06 PM
Hi folks,

I would like to prevent the user from using certain of the features under the Right Mouse button - specifically "View Source, Print and Copy", and if possible leave the "Back" and "Refresh" buttons available.

Even better if I can accomplish this when opening a new window so the property remains in place for the duration !

I would quite like something that works for IE5+, and NS4+ but IE particularly.

Many thanks in anticipation
:-)

joh6nn
10-26-2002, 10:30 PM
http://codingforums.com/showthread.php?s=&threadid=4437
http://codingforums.com/showthread.php?s=&threadid=8687
http://codingforums.com/showthread.php?s=&threadid=8599

Sinbad
10-26-2002, 11:38 PM
Thanks John,
Thats all been very helpful.
In fact I may still be able to achieve this in my case, since I have a 'closed' business application using IE as UI and have set up my own toolbar to replace those standard browser one's.

So if I have removed all std toolbars from the window AND now disable right click and certain keys I guess I should be winning ??
I'll try this.

Thanks Again !
:-)

realisis
10-27-2002, 07:19 AM
well, you can never be too sure: you may have to stand over their shoulders and prevent them from looking in their cache.

If that's seems unrealistic, these surefire techniques are guaranteed to work:

http://www.vortex-webdesign.com/help/hidesource.htm