Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Search engines not getting deleted in firefox

  • 1 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

Hi,

I want to delete all search engines in one click search engines and keep only wikipedia. Is there a way to do from autoconfig.js and firefox.cfg

version: Mozilla Firefox 45.5.1

TIA

Hi, I want to delete all search engines in one click search engines and keep only wikipedia. Is there a way to do from autoconfig.js and firefox.cfg version: Mozilla Firefox 45.5.1 TIA

Giải pháp được chọn

Is this really about Firefox 45esr?

You can't delete builtin search engines as those are stored in one of the omni.ja archives.

  • [67 and older]: resource://search-plugins/
  • [68 and newer]: resource://search-extensions/

The list.json file specifies what search engine are enabled for a specific region.

You can try this code in autoconfig.cfg for Firefox 45esr

clearPref("app.update.lastUpdateTime.search-engine-update-timer");
defaultPref("browser.search.geoSpecificDefaults", true);
defaultPref("browser.search.geoip.url", 'data:application/json,{"country_code": "US"}');
defaultPref("browser.search.geoSpecificDefaults.url", 'data:application/json,{"interval": 315360000, "settings": {"searchDefault": "Wikipedia (en)", "visibleDefaultEngines":["wikipedia"]}}');
----

You need to delete search.json.mozlz4 in the profile folder to generate a new file with only this search engine.

Note that in Firefox 60 ESR and 68 ESR you can do this via policies.json (this is a ESR only policy).

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (1)

more options

Giải pháp được chọn

Is this really about Firefox 45esr?

You can't delete builtin search engines as those are stored in one of the omni.ja archives.

  • [67 and older]: resource://search-plugins/
  • [68 and newer]: resource://search-extensions/

The list.json file specifies what search engine are enabled for a specific region.

You can try this code in autoconfig.cfg for Firefox 45esr

clearPref("app.update.lastUpdateTime.search-engine-update-timer");
defaultPref("browser.search.geoSpecificDefaults", true);
defaultPref("browser.search.geoip.url", 'data:application/json,{"country_code": "US"}');
defaultPref("browser.search.geoSpecificDefaults.url", 'data:application/json,{"interval": 315360000, "settings": {"searchDefault": "Wikipedia (en)", "visibleDefaultEngines":["wikipedia"]}}');
----

You need to delete search.json.mozlz4 in the profile folder to generate a new file with only this search engine.

Note that in Firefox 60 ESR and 68 ESR you can do this via policies.json (this is a ESR only policy).

Được chỉnh sửa bởi cor-el vào