Restrict viewing source in Internet Explorer (For Windows 98/Me).

Click here to run a free scan for registry errors
Internet Explorer gives the option to view the source of a webpage. With this setting, you can turn off the function to view the source.
Level: Recommended For Experts Only
Description:
Internet explorer gives the option to view the source of a webpage. You can choose the option view source in internet explorer by right-clicking on the webpage or from the view menu select source option. Upon choosing this option, internet explorer will start notepad, the default source editor, to show the source html of the current web page. However, you can turn off the function to view source of a webpage with this setting. Important: even if you enable the source view function, all the open internet explorer windows will not show the effect. For this, go to start > run, enter regedit and navigate to the registry path listed below. You can create the dword values noviewsource and nobrowsercontextmenu at hkey_current_user and hkey_local_machine registry paths, if they do not exist. Now, right-click and modify their values to 1 which can restrict source view in internet explorer. However, if you want to get back to the original state, change their values to 0. Restart internet explorer for the changes to take effect. Note: though noviewsource value can disable the source option in view menu, the user can access html source by right-clicking on the webpage. Therefore, to completely turn off the users ability to view the page source, the nobrowsercontextmenu value must be added. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.




Screenshots


First, click the 'Start' button, and select 'Run'. In the resulting dialog box, type "regedit".
Go to <b>[HKEY_CURRENT_USER\Software\Policies\Microsoft\]</b> key and create a new key with the name "Internet Explorer" under "Microsoft".
Then, create a "Restrictions" key under "Internet Explorer".
Now, right-click in the open area to create a DWORD Value with the name "NoViewSource" in "Restrictions" key.
Here, right-click on the "NoViewSource" DWORD Value and click on 'Modify'.
Next, enter the value "1" in the text box and click on 'OK'.
Once again right-click in the open area to create another DWORD Value with the name "NoBrowserContextMenu" in "Restrictions" key.
Further, right-click on the "NoBrowserContextMenu" DWORD value and click on "Modify".
Finally, enter the value "1" in the text box and click on 'OK'. Once you are done, follow the above steps to create similar registry keys and DWORD value at <b>[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\]</b>.


Registry Entries

- back to top

  • Path: [HKEY_CURRENT_USER\Software\Policies\Microsoft\]
  • Location: Current User
  • Value Name: Internet Explorer
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\]
  • Location: Current User
  • Value Name: Restrictions
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions\]
  • Location: Current User
  • Value Name: NoViewSource
  • Data Type: DWORD (DWORD Value)
  • Enabled Value: 1
  • Disabled Value: 0
  • Action Type: Add an Entry
  • Path: [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions\]
  • Location: Current User
  • Value Name: NoBrowserContextMenu
  • Data Type: DWORD (DWORD Value)
  • Enabled Value: 1
  • Disabled Value: 0
  • Action Type: Add an Entry
  • Path: [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\]
  • Location: Local Machine
  • Value Name: Internet Explorer
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\]
  • Location: Local Machine
  • Value Name: Restrictions
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Restrictions\]
  • Location: Local Machine
  • Value Name: NoViewSource
  • Data Type: DWORD (DWORD Value)
  • Enabled Value: 1
  • Disabled Value: 0
  • Action Type: Add an Entry
  • Path: [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Restrictions\]
  • Location: Local Machine
  • Value Name: NoBrowserContextMenu
  • Data Type: DWORD (DWORD Value)
  • Enabled Value: 1
  • Disabled Value: 0
  • Action Type: Add an Entry


Related Tweaks

- back to top