搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Remove built-in search-engines in Firefox Nightly

  • 3 回覆
  • 106 有這個問題
  • 1 次檢視
  • 最近回覆由 smonff

more options

I don't use the default Firefox search-engines, so I like to be able to delete all the Amazon, Twitter, Google nativelly installed on every Firefox version. Using current and beta version of Firefox, I am able to remove built-in search-engines on the Android version, simply from the add-ons manager and disable the search-engine.

However, on the last Nightly build, the search-engines can not be found in the add-ons manager. My phone is not rooted, so I'm not able to directly set the search-engines list by editing the files or removing it through the search-engines list. Can't find a property in `about:config` either...

I don't use the default Firefox search-engines, so I like to be able to delete all the Amazon, Twitter, Google nativelly installed on every Firefox version. Using current and beta version of Firefox, I am able to remove built-in search-engines on the Android version, simply from the add-ons manager and disable the search-engine. However, on the last Nightly build, the search-engines can not be found in the add-ons manager. My phone is not rooted, so I'm not able to directly set the search-engines list by editing the files or removing it through the search-engines list. Can't find a property in `about:config` either...

被選擇的解決方法

You can still disable the search engines if you have root access to your device. Specifically, you need to pull and modify the file search.json. On my device, I have:

adb pull /data/data/org.mozilla.firefox/files/mozilla/rbn69ru0.default/search.json

Now, by default, this file doesn't format everything nicely, so you can use something like

http://jsonformat.com

In order to clean things up. In any case, you'll see bits such as

              "_id": "[app]/bing.xml",
              "_name": "Bing",
              "_hidden": false,
              "description": "",
              "__searchForm": "http://www.bing.com",

You need to take the "_hidden" flag and change it to true. Do this for all of the search engines to hide all of them. Or, frankly, just delete everything under engines. Then, upload the file back and restart firefox with a command like:

adb push search.json /data/data/org.mozilla.firefox/files/mozilla/rbn69ru0.default/

Until an application restart, the changes won't be seen.

As a slight editorial note, it's dumb that we have to do this by hand. Either we should be able to disable things under Settings->Customize->Search settings or we should have some way of turning things off in about:config. While I understand that removing menu items that cause too many support issues, completely removing the option even from about:config is counterproductive.

從原來的回覆中察看解決方案 👍 14

所有回覆 (3)

more options

Hi smonff,

Using Nightly you can find pre-installed search engines in 'Settings' → 'Customize' → 'Search settings'. I don't think there are plans to re-introduce disabling default search engines anymore. There are no plans to introduce removing pre-bundled search engines.

more options

選擇的解決方法

You can still disable the search engines if you have root access to your device. Specifically, you need to pull and modify the file search.json. On my device, I have:

adb pull /data/data/org.mozilla.firefox/files/mozilla/rbn69ru0.default/search.json

Now, by default, this file doesn't format everything nicely, so you can use something like

http://jsonformat.com

In order to clean things up. In any case, you'll see bits such as

              "_id": "[app]/bing.xml",
              "_name": "Bing",
              "_hidden": false,
              "description": "",
              "__searchForm": "http://www.bing.com",

You need to take the "_hidden" flag and change it to true. Do this for all of the search engines to hide all of them. Or, frankly, just delete everything under engines. Then, upload the file back and restart firefox with a command like:

adb push search.json /data/data/org.mozilla.firefox/files/mozilla/rbn69ru0.default/

Until an application restart, the changes won't be seen.

As a slight editorial note, it's dumb that we have to do this by hand. Either we should be able to disable things under Settings->Customize->Search settings or we should have some way of turning things off in about:config. While I understand that removing menu items that cause too many support issues, completely removing the option even from about:config is counterproductive.

more options

The root solution is useful but not everybody is root and this search engines re-ordering function seems to be pretty basic. However, I'm sure there is a lot of reasons for having remove it since pas versions.