Adding A Custom Search Engine To Firefox [closed]

2020-02-16 08:15发布

I need to add a custom search engine to Firefox. I have a name and a search url.

  1. What options should I change in %APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.default\prefs.js file?

  2. Do I need to create a distinct xml file for new search engine in one of these folders?

    • %APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.default\searchplugins

    • %PROGRAM_FILES%\Mozilla Firefox\searchplugins

  3. Should I modify %APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.default\search.sqlite sqlite database file?

标签: firefox
8条回答
Rolldiameter
2楼-- · 2020-02-16 09:15

I came here to add tldr-pages as a custom search, looking for a way how to do that.

Turns out, that there was a very simple way: In Firefox, next to the URL-bar, there is a search-bar with a magnifying-glass. If that magnifying-glass has a PLUS on it, the page you are looking at offers its own openSearch.xml-file.

  • hit the search-box
  • a pop-up opens
  • find the line that says "Add" at the bottom and
  • click it

That is how I solved my initial problem and maybe it solves yours, too.

查看更多
狗以群分
3楼-- · 2020-02-16 09:17

The easiest way to add new search engines is via the "Add to Search Bar" add-on, simply right click on the search form on the webpage you want to add, then "Add to Search Bar" and it will show up in the Search Bar:

查看更多
登录 后发表回答