為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Creating a custom search bar to add keywords automatically

more options

Hi there, i wonder if we can create a custom search bar only to add "keyword" (with quotation marks) before searched terms?

I am using address bar to search on google. Regular search result is coming like this:

https://www.google.com/search?client=firefox&q=question

what i want is:

https://www.google.com/search?client=firefox&q="pre-defined+keyword"+question so pre-defined keyword will added automatically to the search

Hi there, i wonder if we can create a custom search bar only to add "keyword" (with quotation marks) before searched terms? I am using address bar to search on google. Regular search result is coming like this: ''https://www.google.com/search?client=firefox&q=question'' what i want is: ''https://www.google.com/search?client=firefox&q="pre-defined+keyword"+question '' so '''pre-defined keyword''' will added automatically to the search

所有回覆 (4)

more options

You can use a keyword search and create a bookmark with a keyword (e.g. 'g' or 'gp') set that has this term as a prefix.

  • https://www.google.com/search?client=firefox&q="pre-defined+keyword"+%s

由 cor-el 於 修改

more options

Thank you for your answer cor-el, i beleive it's not what i need. I don't want to rewrite anything while searching this. Thats why i think i need a seperate search bar.

more options

To use this keyword, you type the keyword in the location bar and append a space and your search term(s). The keyword is replaced by the text you have in the location field of the bookmark and '%s' is replaced by the terms you have appended after the keyword, so you do not rewrite anything.

more options

If you want a search engine that appears in the row of icons (or can be made the default) instead of a bookmark, there is an add-on you could consider using to define your own:

https://addons.mozilla.org/firefox/addon/add-custom-search-engine/