搜尋 Mozilla 技術支援網站

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

了解更多

Is there a shortcut in Firefox to get a website's search box?

  • 6 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

is there a shortcut in Firefox that gets you to the search box on a website? I looked. Can't find one. If the answer is no, how do you request a new feature?

Not like ctrl L to the address bar. Being on wikipedia, ebay, amazon, etc - press shortcut, type blah blah, enter and it does a search on that website. ctrl L & tabbing is a pretty ordinary workaround.

Even better, press Up/Down in the website search box shows previous/next searches - like Up/Down at windows or linux command prompt shows previous commands.

is there a shortcut in Firefox that gets you to the search box on a website? I looked. Can't find one. If the answer is no, how do you request a new feature? Not like ctrl L to the address bar. Being on wikipedia, ebay, amazon, etc - press shortcut, type blah blah, enter and it does a search on that website. ctrl L & tabbing is a pretty ordinary workaround. Even better, press Up/Down in the website search box shows previous/next searches - like Up/Down at windows or linux command prompt shows previous commands.

所有回覆 (6)

more options

It's site-dependend and system-dependend. For wikipedia I've ctrl+shift+f, but it can be different for Mac ;).

more options

ctrl+shift+f doesn't work on Windows 8 - dark ages work laptop they gave me. Anyone know the answer for Windows and Linux/Ubuntu?

more options

https://addons.mozilla.org/en-US/firefox/addon/add-to-search-bar/ Add to Search Bar Make any pages' search functionality available in the Search Bar

https://addons.mozilla.org/en-US/firefox/addon/context-search/ Context Search Expands the context menu's 'Search for' item into a list of installed search engines, allowing you to choose the engine you want to use for each search.

more options

Sorry, neither of those plugins do what I was looking for.

It might require a standard, formal or informal, where something is included in the html to mark where the search box is on the page. Then a shortcut in a plugin could take you straight to the search box on the page.

more options

One adds that sites search to the Firefox search box. You don't need to be on the site to use it.

The other, when on a website, will use that site's search box without you having to look for it.

more options

You could create a bookmarklet to set focus to a specific field and use an extension to add a keyboard shortcut. I have such a bookmarklet to set focus to the textarea on this forum and some others.

It is basically a list of queries and setting the focus to the element when found.

For the search bar on this page:

javascript:(function(){var e=document.querySelectorAll('input[id="search-q"]');if(e.length){/*console.log(e[0].nodeName);*/e[0].focus();e[0].scrollIntoView(true);}})()