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?

migrated from webapps.stackexchange.com Sep 14 '14 at 6:35

This question came from our site for power users of web applications.

  • Double-click should select it all, then you can just type straight over that – Tetsujin Sep 14 '14 at 7:24
  • @Comeseeconquer Not a problem. – jonsca Sep 14 '14 at 7:47
  • @Tetsujin: Thanks very much. But did you mean to double click the search bar? If yes then I am afraid that is not what I am after :) Because oftentimes I have to look up the synonyms given, so I have to scroll to the top of the page so that I can re-type a new word in. But it is this that bothers me; I want to find a hotkey so that I can blacken the search bar without scrolling. – Megadeth Sep 14 '14 at 8:20
  • Have you tried Tab? – Tetsujin Sep 14 '14 at 8:31
  • @Tetsujin: Thank you, I have never known "Tab" can return screen to the top. :) But it seems that I still have to double click the search bar? So is there a hotkey to replace "double click"? Much appreciated. – Megadeth Sep 14 '14 at 8:34

"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
  • Ah, thank you so much. Unfortunately there is no universal hotkey; slightly inconvenient :) Thank you again for your attention and time. – Megadeth Sep 14 '14 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.