Cannot view the source file of a Web page what should I do?

Source: Internet
Author: User
Tags command line mail

Q: Whether you are using Outlook or IE, click the right mouse button, in the pop-up shortcut menu will have the "View source file" This option, strange, on my computer unexpectedly can not display the mail or Web page source files, although this does not affect the normal use of the software. Excuse me, is this because I installed an upgraded version of Microsoft or a patch to prevent this feature from being automatically blocked? Is there a way to reboot this feature? It's a hassle to know that you can't view your source files, especially for Outlook users. Take me personally, every time I receive a URL link in the mail, I am accustomed to check its source file, determine its security, will click on it.

A: If you are unsure whether an e-mail message in your Inbox or a site page that you want to browse is accompanied by a virus, you can view the background HTML source code by "View source files." If the URL displayed in the source file does not match the true link, it indicates that there is a problem with the message or Web page. If the "View Source" feature is not available, it is really cumbersome. There are many reasons for this problem, which are listed below:

The first is that the view Source feature will fail when the browser's cache is filled. If you want to determine whether your computer is in this category, click on the Internet Options "general" tab of IE on the "Tools" menu, and then click the "Delete File" button in the "Temporary Internet Files" column.

In the second category, when you open some special browser windows (such as a Web page written in JavaScript scripting language), the view Source feature also fails. If you are browsing any Web page, you cannot "view the source file", that is not the case.

In the third category, the View Source feature is not available when a Web page has not been fully loaded on the desktop (in this state, the Save As option on the File menu is also blocked). This is not really a problem.

In the fourth category, viewing the Windows folder, if you cannot find Notepad.exe, will cause the view Source feature to become unusable.

In the fifth category, if the temp (or TMP) environment variable points to a nonexistent folder, it can also cause the View Source feature to be unusable. Open the Command Prompt window, type set TEMP (or set TMP), and you can view the values of these variables.

In the sixth category, you can also limit the validity of the command line through registry settings. First, click on the "Start" menu, type "REGEDIT" in the Run dialog box, bring up Registry Editor, and click "Hkey_current_usersoftware policiesmicrosoftinternet Explorer Restrictions, find a value named Noviewsource in the right pane, and double-click it to change the value data to 0 if the current numeric data is set to 1.

In the seventh category, by looking at the registry settings, you will also find that if the specified caller is incorrect, the "View Source" feature will fail. Call the Registry Editor and click "Hkey_local_machinesoftware microsoftinternet explorerview Source editoreditor Name", if the key exists, The default "value name" shown in the right pane should be the full path of the Notepad program, usually in the form of "C:windowsnotepad.exe". If the key does not exist, verify the correct location of the Notepad program, and then double-click the default key value to modify the error path.

In the eighth category, Group Policy settings may also block the View source File menu item. From the Start menu, bring up the Run dialog box and type Gpedit.msc. If a prompt appears on the desktop that the file name is incorrect, the failure of the view Source feature is not related to the setting of the Group Policy; otherwise, a Group Policy Editor window will pop up on the desktop and click User Configurationadministr-ativetemplateswindows componentsinternet Explorerbrowser ", find View menu:disable Source in the right pane menu, if the key value is set to "Enabled", change it to "Disabled".

Note that the first category described above (that is, the "View Source" feature fails due to excessive internet temporary files saved by IE) is the most common (pictured). If all offline content is removed, the feature is still unavailable, and you check the possibilities described later until the problem is eliminated.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.