Change IE and Fire Fox to view the Web source code program by default.

Source: Internet
Author: User
Tags ultraedit

 

IE

Open the Registry Editor and enter Regedit in start-run.

Locate HKEY_LOCAL_MACHINE \ Software
\ Microsoft \ Internet Explorer \ View Source editor \ Editor
Name \ modify the default data to "D: \ Program Files \ emeditor \ emeditor.exe"

Switch to IE to viewSource codeYou can see the effect.

If the View Source editor \ editor name item does not exist, you can create it by yourself.

Firefox

When we use firefoxfirefox to browse the webpage, when we need to view the page sourceCodeBy default, Firefox uses its own source code to viewProgramTo display the source code. Since this page shows few functions of the program, we can use other powerful editors to view the page source code.

There are two ways to implement this function.

1. Use extensions

There is a Firefox extension viewsourcewith which allows users to view page code source files using custom applications. After installing this extension, you can modify the program for viewing the page source code.

2. modify the configuration file

Enter "about: config" in the address bar of the browser and modify the configuration file by yourself.

There are two options related to viewing the page source code: view_source.editor.external and view_source.editor.path.

The default value of view_source.editor.external is false.
Firefox default program to view the page source code. We set the value to true, and then we can use our own external editing program to view the source code.
Specified in view_source.editor.path. For example, you can use ultraedit to view the directory where my ultraedit program is located.
Yes: "E: \ Program \ ultraedit". I set the value of view_source.editor.path to "E: \ Program
\ Ultraedit \ uedit32.exe ".

After the settings are complete, When you view the source code of the page, ultraedit is automatically run to open the temporary file of the source code in ultraedit. If you need to use other programs to view the page source code, set the value of view_source.editor.path to the corresponding program.

We (http://www.allfirefox.com) recommended to use the second method to modify, the author in Firefox 2.0 successfully debugged through.

From: http://hi.baidu.com/382262106/blog/item/1f61d6ec236c89c12e2e2168.html

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.