Click to See Complete Forum and Search --> : View Source


vader
August 28th, 2002, 12:11 PM
Hey,
Just wondering if anybody knows a way to "gray out" the view source option in a browser. I already know how to pop up a message box that displays when the user right clicks inside the browser that will say not allowed or whatever. but i want the user to still be able to use the other right click options except view source. any suggestions? it would also have to be grayed out from the menu selection.
thanks.

Waldo2k2
August 28th, 2002, 08:22 PM
www.dynamicdrive.com
note: it's fruitless if you don't get rid of the toolbar on the top of the window (in IE: view, source)

Zvona
August 29th, 2002, 05:37 AM
It's impossible. If you have other than document object loaded in browser (like picture or flash object), View Source is grayed out. Meaning http://www.domain.com/default.html can't be grayed out, but http://www.domain.com/myFlash.swf has View Source option grayed out (because there's no viewable source).

Visit http://continue.to/hope for a parody for "How can I disable view source" questions.