1

Want to know whether there is a default hotkey for highlighting a web-page search bar, rather than the address bar. The dictionary http://www.thefreedictionary.com/ , for example.

Thanks to Tetsujin, I have known that using "Tab" can bring one back to the top of a web page. However, it seems under Windows 7 that for one to highlight a given search bar one still has to double click the search bar.

If there is no such default hotkey, will you please tell me how to set up such one using the browser?

Yes
  • 111

3 Answers3

2

By default, it's not possible.

But Google Chrome has an extension specifically for that. It's called Search Box Focus. You can find it here: https://chrome.google.com/webstore/detail/search-box-focus/amgmdnojamodmpfjaokfgpijhpcednjm

Once installed, you can simply press Tab to focus the search bar. I hope that helps!

Falaen
  • 151
  • 4
1

The solution is: extensions. Search for "Search box focus extension", they work for Google (Tab) and Mozilla (Ctrl+Y) (https://addons.mozilla.org/en-US/firefox/addon/focus-site-search-bar/).

1

"highlighting a web-page search bar"

No hotkey for this unless site set this hotkey. How you think browser will know which element search bar on site? But you can make userscript for each site for this feature, but its require javascript knowledge.

In your example url search bar have code:

<input ondblclick="click_block=1" onclick="SAYT.Suggest(this,event)" onkeyup="saveCaret(this);SAYT.Suggest(this,event)" onmouseup="saveCaret(this)" onfocus="this.select()" name="Word" id="f1Word" value="" size="40" autocomplete="off" accesskey="s">

What important its accesskey="s". So for select this search bar need press Alt + s

Note: The shortcut is varying in different browsers:

IE, Chrome, Safari, Opera 15+: [ALT] + accesskey
Opera prior version 15: [SHIFT] [ESC] + accesskey
Firefox: [ALT] [SHIFT] + accesskey