How to disable "view source" in Internet Explorer

K

Kevin Spencer

Disabling right-click is a sure sign of an amateur site, and drives traffic
away from the site, not to mention that it doesn't prevent jack. This kind
of advice is one resaon why we never seem to stop being deluged with
questions on this topic.

In addition, using PHP isn't going to prevent anyone from seeing his HTML
source code, which is what he asked about. All it would do is ADD
server-side code for no good reason...

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
H

hypercube

If you want to hide the html from a casual observer, consider filling the
start of the html document with white space and hope that they would not
scroll down. From a casual view, it would appear that the document is blank.
 
A

Andrew Murray

If they want your site badly enough, all they need to do is go file save as
and save the document, then open it in notepad or frontpage or whatever
editor they choose.

Besides it is already downloaded when they view it.
 
K

Kevin Spencer

If you want to hide the html from a casual observer, consider filling the
start of the html document with white space and hope that they would not
scroll down. From a casual view, it would appear that the document is
blank.

Pure Ted Mack.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
M

Murray

LOL. You probably went over the head of 98% of the readers here! 8)

Ted Mack = "The Amateur Hour" (Radio show, folks - big in the 50's)
 
K

Kevin Spencer

I should have figured another old fogey like myself would figure that one
out!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
Top