In Firefox, through an external editor to view the source of the Web page

Source: Internet
Author: User

In the Firefox browser, you can view the source of the Web page by right-clicking, menu bar feature, or shortcut key (cmd + U). But the pop-up is just a browsing window, want to edit and so on further operations, you will have to rely on copying and pasting Dafa. Is there a way to make Firefox's view source function directly invoke an external editor to operate?

Enter About:config in the Firefox address bar and search for source.editor in the filter;

Double-click View_source.editor.external to set its value to true;

Double-click View_source.editor.path to enter the corresponding string value for the external editor.

PS: This string value is a UNIX path, please fill in the UNIX executable path that applies "show package content".

Coda Web development tool fill in the Application Unix executable path (note that replacing XXX is the right path for you):/applications/xxx/coda.app/contents/macos/coda Other applications can use Find Unix Executable file path method to find the corresponding string value. (TextMate, Macvim test available) The BBEdit file editor is a little bit different for BBEdit. First make sure that the command line tools attached to your machine are installed (menu bar Bbedit-install Command Line tools ...), and then point the external editor string value to:/usr/local/bin/BBEdit BBEdit, you can. If you don't like this change, just restore the view_source.editor.external value to False.

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.