搜尋 Mozilla 技術支援網站

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

了解更多

where is the order of the search engines stored

  • 5 回覆
  • 1 有這個問題
  • 115 次檢視
  • 最近回覆由 FredMcD

more options

Hi, I am using Firefox 75.0 on Windows 10. I changed the order of my serach engines in the preferences. In earlier versions of Firefox the installed search engines were stored in search.json.mozlz4 and the order somewhere in search-metadata.json, search.sqlite and search.json. So to move the search engines from one profil to another, one could copy those files and everything was as before. Now I only find search.json.mozlz4 in my profil and none of the other files. But just copying search.json.mozlz4 to a new profile, will restore the search engines but not the order I arranged them in. Are those other files not part of the profie anymore?

I have about 90 custom search engines and would like to do the job just once and not 10 times or more for my different installations. So how can I move not only the engines themselve but also their order? Thank you!

Hi, I am using Firefox 75.0 on Windows 10. I changed the order of my serach engines in the preferences. In earlier versions of Firefox the installed search engines were stored in search.json.mozlz4 and the order somewhere in search-metadata.json, search.sqlite and search.json. So to move the search engines from one profil to another, one could copy those files and everything was as before. Now I only find search.json.mozlz4 in my profil and none of the other files. But just copying search.json.mozlz4 to a new profile, will restore the search engines but not the order I arranged them in. Are those other files not part of the profie anymore? I have about 90 custom search engines and would like to do the job just once and not 10 times or more for my different installations. So how can I move not only the engines themselve but also their order? Thank you!

被選擇的解決方法

Ok, I think I found the answer myself.

I changed the order of my search engines in my old profile to my needs. Now when pasting a search.json.mozlz4, which search engines order has been changed, into a new profile the configured order gets all mixed up. To prevent this, one has to change the order of the default search engines of the new profile once before pasting the old search.json.mozlz4 into the new profile. At least that helped me.

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

所有回覆 (5)

more options

search.sqlite file and searchplugins folder store the search engines that are available in the Firefox Search bar before Firefox v47

search.json.mozlz4 : file stores the user-installed search engines that are available in the Firefox v47+

Type about:preferences#search<enter> in the address bar. You can select any search engine to be your default from here.

You can also remove any engine from here.

more options

search.json.mozlz4 stores all search engine data including the order in which they appear and possible keywords (aliases). about:config is no longer used. You can try to create a new Boolean pref named browser.search.useDBForOrder on the about:config page and set its value to true to see if that has effect.

more options

@ FredMcD: Thanks, but I already know how to configure the search engines, I have done it, as stated in my first post. My problem is, that moving search.json.mozlz4 to anaother Firefox profile, the order of my search engines changes.

@cor-el: browser.search.useDBForOrder is already set to true, but I did not change it. And if search.json.mozlz4 stores also the order of my search engines, why is that order not preserved, when moving search.json.mozlz4 to another profile? What does browser.search.useDBForOrder do, I didn't find any good explanation.

由 Tim 於 修改

more options

選擇的解決方法

Ok, I think I found the answer myself.

I changed the order of my search engines in my old profile to my needs. Now when pasting a search.json.mozlz4, which search engines order has been changed, into a new profile the configured order gets all mixed up. To prevent this, one has to change the order of the default search engines of the new profile once before pasting the old search.json.mozlz4 into the new profile. At least that helped me.

more options

That was very good work. Well Done.