Quote:
|
Create one page that loads 2 frames, one at 0 percent and 1 at 100 percent. put the code you don't want to be viewed in the frame that is 0 percent and now when someone clicks on view source, all they see is the html for loading the frames. This works quite well until they try to resize the frames. Just make the page load with frame resize disabled. I don't have any of the code, but most everyone knows how to do it. It is even in the Microsoft knowledge base. Just search on how to use frames.
|
Puppetcaptain, this won't work because the page that contains the HTML for loading the frames also contains the path to the frames. All the user has to do is follow those paths to find the desired source code.
Snaip's solution will work, though (as the site says) the process of decoding the Javascript is trivial. Users who have disabled Javascript will just see a blank page.
The only way to effectively keep people from getting your source is to not put it on the internet.