Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable View Source Code 1

Status
Not open for further replies.

SandorC

MIS
Aug 26, 2001
39
BR
Hi to all!
After surfing over several hacker site links, I ended up with the "View Source Code" disabled in my browser (IE 5.5). I could not find the site again to try to capture the process. How can I do it in my HTML pages?
Regards.
sandor
 
Hiya

When View/Source is not available and Notepad is selected as the default HTML editor in Internet Explorer, Tools/Internet Options/Programs tab, it might be worth while to replace the file "riched32.dll" from a cab file on your installation disk (after determining the version number by right clicking on the file and selecting Properties).

For help with determining the appropriate location to find riched32.dll, see this source for help:


Or, maybe:

Try emptying your Tempory Internet Folders in the General tab of Internet Options. Also, delete Offline Content.

Regards

eddie Just go with the flow, like a twig on the shoulders of a mighty stream

 
As a general rule, security is set up on both ie and netscape to prevent you from keeping your source code hidden, however, there are some cases where you can hide it from the average user.

1. In IE, you can create a modal dialog box. This is like a popup window, and you can have HTML in it. No one is able to view the source code on this directly. Developers could still see the source code of the page if they are using a debugger like visual interdev(although it is also possible to use Microsoft Script Editor which is a scaled down version of Interdev which ship for free with MS Office). - Note: if you have hyperlinks in a modal dialog box, they will open in a separate window.

2. Other things you can do involve opening new windows without menus, and trapping the mouseclicks, so that you are directing what the user is able to do with them. Even so, the debugger I mentioned above, and many other tools out there would still allow someone to see your code.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top