Link to home
Start Free TrialLog in
Avatar of jflemin
jflemin

asked on

Disable View Source

How do you disable the view source menu option in Internet Explorer and Netscape?
ASKER CERTIFIED SOLUTION
Avatar of ahosang
ahosang
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
And countless PAQ's on this site will confirm that, if you use the search tool here to look for this topic you will see.
Avatar of webwoman
webwoman

Anybody think we can get EE to set up a 'don't ask these questions -- we've already answered them a zillion times' FAQ? ;-)

Spend 10 pts, get the answers to all your print/hide code/change user settings questions.. ;-)
make your java script file as .js file and put in seperate directory to avoid others to see. For html source as its all common no need to hide.

Avatar of jflemin

ASKER

I've seen this done on many web pages, so it can't be impossible. How did they do it?
Avatar of jflemin

ASKER

By the way. I did do a search on this topic, but EE timed out every time I did a search.
Avatar of jflemin

ASKER

By the way. I did do a search on this topic, but EE timed out every time I did a search.
Avatar of jflemin

ASKER

By the way. I did do a search on this topic, but EE timed out every time I did a search.
Avatar of jflemin

ASKER

I appreciate the url that explained the view source. I have been to sites that do have the view source option grayed out. Do you know how they did this?

Any ideas would be appreciated.
Avatar of jflemin

ASKER

I don't remember submitting the same text three times.

???
Give me any 'HTML' page on the web and I'll give you the source.
BTW, if you hit refresh button, EE will reprint your comment. You should use the reload question link at the top right.

Back to topic. Please give me the URL and I'll investigate - I don't specialise in IE-specific code so I don't know about ActiveX changing the browser but there is no cross-browser disabling(and I have many browsers).

You only requested IE and Netscape and even between them 2 you wouldn't have a hope.
The only way I know to disable view source is to force the user to open a PDF file, in IE, have Acrobat 5 (not anything else), and then go to your page.

Of course, you have no control over any of that... ;-)

And, they STILL could make a page, put a link to your page on it, right click, and save it.

Kinda hard to stop that. ;-)