为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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);}})()