搜尋 Mozilla 技術支援網站

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

Learn More

Creating a custom search bar to add keywords automatically

  • 4 回覆
  • 1 有這個問題
  • 9 次檢視
  • 最近回覆由 jscher2000

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

所有回覆 (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/

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題