Is there a hotkey to highlight a search bar (not the address bar) under Windows 7 OS?

0

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?

Megadeth

Posted 2014-09-14T05:01:16.260

Reputation: 101

Double-click should select it all, then you can just type straight over that – Tetsujin – 2014-09-14T07:24:53.327

@Comeseeconquer Not a problem. – jonsca – 2014-09-14T07:47:08.677

@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 – 2014-09-14T08:20:06.930

Have you tried Tab? – Tetsujin – 2014-09-14T08:31:54.113

@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 – 2014-09-14T08:34:34.063

It might depend on the OS - I'm on Mac/Safari & Tabbing back to the search automatically highlights the previous text so I can immediately overwrite – Tetsujin – 2014-09-14T08:36:47.947

Ah, mine is Windows 7. And thank you that I know how to describe the action "blacken"; it turns out that the action is called "highlight"! – Megadeth – 2014-09-14T08:37:18.153

Ctrl + K Ctrl + E – crazypotato – 2014-09-14T13:43:20.300

@crazypotato: Hey thanks so much. I had tried those two combinations; it turned out that they both give the "?" in the address bar :). – Megadeth – 2014-09-14T14:06:36.037

You should specify browser and i missed web part. – crazypotato – 2014-09-14T14:54:55.560

Answers

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

crazypotato

Posted 2014-09-14T05:01:16.260

Reputation: 678

Ah, thank you so much. Unfortunately there is no universal hotkey; slightly inconvenient :) Thank you again for your attention and time. – Megadeth – 2014-09-14T15:03:42.037