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