Solved

Disable View Source

Posted on 2001-08-28
12
395 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
  • 6
  • 3
  • 2
  • +1
12 Comments
 
LVL 12

Accepted Solution

by:
ahosang earned 50 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
 

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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now