Add custom search engines in Firefox

Firefox Firefox Cập nhật cuối: 44% người dùng đã bình chọn điều này hữu ích
Chưa có ai giúp dịch bài viết này sang tiếng Việt cả :( Rất mong nhận được sự đóng góp từ bạn. Nếu bạn đã biết cách dịch các bài viết cho SUMO, bắt đầu dịch ngay bây giờ. Nếu bạn muốn tìm hiểu cách dịch các bài viết cho SUMO, hãy bắt đầu tại đây.

You can add new search engines in Firefox to give you the freedom to customize your search experience with the tools that work best for you. For example, you can build a specific search engine with a website you frequently visit (think YouTube or IMDB).

Starting in Firefox version 140, you can add custom search engines from the search field of supported websites, or in Firefox settings by entering a custom URL. This article explains how to do this.

Add a custom search engine from a supported website

A supported website is any website that Firefox recognizes as a searchable source. Such websites must include either an OpenSearch description file or a tag in their code that points to a search engine.

Tip: Right-click the search bar to check if a site is supported.
  1. Right-click the search field and select Add Search Engine.
    addsearchengine
  2. Add a custom Search engine name and add a Keyword (it’s optional).
    searchengine
  3. Click Add Engine.

Add a custom search engine in Settings

You can add custom search engines from websites in Firefox, even if they’re not supported.

  1. Click the main menu IG main menu button, click Settings and select Search from the left panel.
    searchshortcut
  2. Go down to the Search Shortcuts section and click the Add button.
    • The Add Search Engine box will open.
  3. Under Search engine name, add a name for your custom search engine.
    searchenginemenu
  4. In the URL with %s in place of the search term field, copy & paste the URL of the custom search engine.
    • For example: https://example.com/
  5. Add the search query code for the website (commonly search?q= but may vary) to the end of the URL, with %s as the search term.
    • For example: https://example.com/search?q=%s or (for IMDB) https://example.com/find/?q=%s
  6. Add a Keyword (this is optional).
  7. Click Add Engine to save.
Note: You can find the search query code a website uses by performing a unique search with an easy-to-spot word, such as “ZZZZZZ”. The “ZZZZZZ” in the URL is the search term that follows the search query.

Frequently asked questions

Why does the URL need to contain %s?

%s is a placeholder that Firefox replaces with your search query. For example, if you enter firefox settings as the search term at https://developer.mozilla.org the browser will go to https://developer.mozilla.org/search?q=firefox+settings.

What’s the purpose of the keyword?

A keyword is a shortcut you type in the address bar to trigger that custom search engine. For example: google privacy tools → searches Google instead of your default engine. The keyword is optional, and it is not required for the custom search engine to work.

Related articles

Những người này đã giúp viết bài này:

Illustration of hands

Tình nguyện viên

Phát triển và chia sẻ chuyên môn của bạn với người khác. Trả lời câu hỏi và nâng cao kiến thức cơ bản của chúng tôi.

Tìm hiểu thêm