Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

An add-on to force firefox switch back to default search engine in search bar

  • 2 답장
  • 5 이 문제를 만남
  • 1 보기
  • 최종 답변자: cor-el

more options

Hi,

I have a couple search engines installed in firefox's search bar. I find it extremely annoying that each time I change the search engine it remains like that even after restarting firefox. Is there any add-on that would switch back to the one that is on the top of the list (which happens to be my default search engine for navigation bar as well) every time I restart the browser?

Let me give you an example: I use duckduckgo as a default search engine for the nav bar and in the search bar. Let's say I need to find a definition for which I use wikipedia search engine. I switch to wikipedia one then. I turn off the browser and the next time I start firefox the search engine that appears in the search bar is wikipedia and I would prefer it to be duckduckgo.

I hope it isn't to vague.

cheers, Omen

Hi, I have a couple search engines installed in firefox's search bar. I find it extremely annoying that each time I change the search engine it remains like that even after restarting firefox. Is there any add-on that would switch back to the one that is on the top of the list (which happens to be my default search engine for navigation bar as well) every time I restart the browser? Let me give you an example: I use duckduckgo as a default search engine for the nav bar and in the search bar. Let's say I need to find a definition for which I use wikipedia search engine. I switch to wikipedia one then. I turn off the browser and the next time I start firefox the search engine that appears in the search bar is wikipedia and I would prefer it to be duckduckgo. I hope it isn't to vague. cheers, Omen

선택된 해결법

Easiest is to set the preferred default engine to the preferred search engine via the user.js file in the Firefox profile folder by copying the related user_pref() line to this file.

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can search the about:config page for browser.search. to locate the pref(s) that you need.

  • user_pref("browser.search.defaultenginename", "Google");

You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) user.js file in this folder (the names are case sensitive)
  • Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as user.js
    Otherwise Windows may add a hidden .txt file extension and you end up with a not working user.js.txt file
문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (2)

more options

Sorry, I have never seen an add-on like that. Feel free to look yourself.

https://addons.mozilla.org/en-US/firefox/

more options

선택된 해결법

Easiest is to set the preferred default engine to the preferred search engine via the user.js file in the Firefox profile folder by copying the related user_pref() line to this file.

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can search the about:config page for browser.search. to locate the pref(s) that you need.

  • user_pref("browser.search.defaultenginename", "Google");

You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) user.js file in this folder (the names are case sensitive)
  • Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as user.js
    Otherwise Windows may add a hidden .txt file extension and you end up with a not working user.js.txt file