?
Solved

Disable View Source

Posted on 2001-08-28
12
Medium Priority
?
408 Views
Last Modified: 2009-12-16
How do you disable the view source menu option in Internet Explorer and Netscape?
0
Comment
Question by:jflemin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
  • 2
  • +1
12 Comments
 
LVL 12

Accepted Solution

by:
ahosang earned 150 total points
ID: 6432948
0
 
LVL 12

Expert Comment

by:ahosang
ID: 6432956
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
 
LVL 19

Expert Comment

by:webwoman
ID: 6433209
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:de_britto
ID: 6433943
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
 
LVL 1

Author Comment

by:jflemin
ID: 6434001
I've seen this done on many web pages, so it can't be impossible. How did they do it?
0
 
LVL 1

Author Comment

by:jflemin
ID: 6434004
By the way. I did do a search on this topic, but EE timed out every time I did a search.
0
 
LVL 1

Author Comment

by:jflemin
ID: 6434012
By the way. I did do a search on this topic, but EE timed out every time I did a search.
0
 
LVL 1

Author Comment

by:jflemin
ID: 6434013
By the way. I did do a search on this topic, but EE timed out every time I did a search.
0
 
LVL 1

Author Comment

by:jflemin
ID: 6434054
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
 
LVL 1

Author Comment

by:jflemin
ID: 6434060
I don't remember submitting the same text three times.

???
0
 
LVL 12

Expert Comment

by:ahosang
ID: 6434119
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
 
LVL 19

Expert Comment

by:webwoman
ID: 6434515
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question