Web browser--eww in Emacs

Source: Internet
Author: User

1Brief introduction

EWW, the full name of the Emacs Web Wowser, is a Web browser that Emacs24.4 comes with. To use EWW, you need to have LIBXML2 support.

Under Ubuntu, you can use the ' sudo apt-get install libxml2 ' to install

Under Windows, you can go to Http://ncu.dl.sourceforge.net/project/ezwinports/libxml2-2.7.8-w32-bin.zip to download LIBXML2

2Basic operations
  • Start Eww

    M-x Eww

  • Operation of the Eww-mode

    Key function function
    Q Eww-quit Exit Eww
    G Eww-reload Reload this page
    W Eww-copy-page-url Copy the current URL to the kill ring
    D Eww-download Download the URL of the cursor, the downloaded directory exists in the variable ' eww-download-directory ', the default is ~/downloads
    L Eww-back-url Fallback previous URL
    R Eww-forward-url Forward to next URL
    H Eww-list-histories Show browsing History
    B Eww-add-bookmark Add Bookmark
    B Eww-list-bookmarks Show Bookmark List
    & Eww-browse-with-external-browser Using an external browser to open the currently browsed URL, the external browser is determined by the variable ' shr-external-browser '
    V Eww-view-source View Page Source code
    C Eww-cookie-list Listing cookies



3Configuration
    • Eww-search-prefix

      If the string entered to Eww is not like a URL or hostname, then Eww-search-prefix will be used as a search engine.

    • Eww-download-directory

      Configuring the download directory for EWW

    • Shr-external-browser

      This variable specifies the external browser used by the EWW

    • Eww-use-external-browser-for-content-type

      When you open content of the specified type, it is automatically opened with an external browser.

    • Eww-header-line-format

      This variable indicates what format the head line of EWW buffer is displayed in.

      It is a format string in which%t represents the title of website, and%u represents the URL of the access

    • Shr-max-image-proportion

      The value is a floating-point number not exceeding 1, indicating that the picture cannot be larger than the shr-max-imag-proportion of the entire EWW window when the picture is displayed

    • Shr-blocked-images

      The variable is a regular expression, and if the URL of the picture matches the expression, the picture is masked.

Web browser--eww in Emacs

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.