PDA

View Full Version : "View Source" disabled


carrieng
11-26-2002, 09:21 PM
I see at some websites that you cannot view the page's source (whether from the View menu or right-clicking). Is that purposely implemented by a script? If so, can someone post the script?
Thanks in adv.

CitznFish
11-26-2002, 09:55 PM
Did you try the 'search' feature? This topic is covered at this URL:

http://www.codingforums.com/showthread.php?s=&threadid=4437


Lots of good information...

Borgtex
11-26-2002, 09:56 PM
It's a good idea to make a search before asking

http://www.codingforums.com/showthread.php?s=&threadid=4437

Borgtex
11-26-2002, 09:57 PM
Wow. same idea, same thread :D

carrieng
11-27-2002, 02:06 AM
Believe it or not I did do a search but did not find a satisfying answer. So I apologize for being stupid and probably using the wrong keywords. Satisfied?

A1ien51
11-27-2002, 04:12 AM
You want the answer: Like the good people here at the coding forums alway say is "You CAN NOT hide the source code!"

The source code is ALWAYS downloaded onto YOUR computer when you goto a website. YOUR code is mine. Want to protect your code, do not put it online!

Javascript.HTML,etc are open source....free for everyone to see. We are not microsoft!!!

glenngv
11-27-2002, 05:11 AM
There should be a sticky thread here that posts this link:

http://www.vortex-webdesign.com/help/hidesource.htm

Algorithm
11-27-2002, 06:53 AM
If you're using IE5 on Windows, sometimes the browser won't let you see the source; the option is greyed out. I've found this to be a random occurrence; closing and re-opening the browser window generally solved the problem for me.

Is that what you mean?

CitznFish
11-27-2002, 06:57 PM
Originally posted by carrieng
Believe it or not I did do a search but did not find a satisfying answer. So I apologize for being stupid and probably using the wrong keywords. Satisfied?

A little sensative are we?? No one was giving you a hard time, just suggesting you try the search feature since this topic come sup on a regular basis. I don't think anyone inferred that you were stupid... :)


Originally posted by Algorithm
If you're using IE5 on Windows, sometimes the browser won't let you see the source; the option is greyed out. I've found this to be a random occurrence; closing and re-opening the browser window generally solved the problem for me.

Is that what you mean?

This happens when your cache is getting full. I get this all the time and deleting my cache allows me to view the source code...

whammy
11-28-2002, 12:06 AM
The final word is what the good people here at the forum have stated above. You can't protect source code, since in order for the browser you're using to interpret a web page, it must download the source code.

It's then stored on the user's hard drive.

There's nothing you can do about that... unless you are offering dynamic code that is updated by databases, using server-side programming - in which case the source code can still be downloaded, but the functionality of the website cannot be duplicated (unless the "thief" is also good at databases - but if he is, there would be no reason to steal the content!).