搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.