Disable View Source

How do you disable the view source menu option in Internet Explorer and Netscape?
LVL 1
jfleminAsked:
Who is Participating?
 
ahosangConnect With a Mentor Finance Systems DeveloperCommented:
0
 
ahosangFinance Systems DeveloperCommented:
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.
0
 
webwomanCommented:
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.. ;-)
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
de_brittoCommented:
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.

0
 
jfleminAuthor Commented:
I've seen this done on many web pages, so it can't be impossible. How did they do it?
0
 
jfleminAuthor Commented:
By the way. I did do a search on this topic, but EE timed out every time I did a search.
0
 
jfleminAuthor Commented:
By the way. I did do a search on this topic, but EE timed out every time I did a search.
0
 
jfleminAuthor Commented:
By the way. I did do a search on this topic, but EE timed out every time I did a search.
0
 
jfleminAuthor Commented:
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.
0
 
jfleminAuthor Commented:
I don't remember submitting the same text three times.

???
0
 
ahosangFinance Systems DeveloperCommented:
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.
0
 
webwomanCommented:
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. ;-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.