Shortcut to place cursor in Search box?
Moderators: Lootyhoof, FranklinDM
Shortcut to place cursor in Search box?
Greetings! Is there a shortcut to place the cursor in the Search box? By analogy, in the wikis (Wikipedia, Wikiquote, etc.), the shortcut shift-alt-F works (in Windows, at least).
Thanks!
Thanks!
-
KNTRO
Re: Shortcut to place cursor in Search box?
Hi VLMin,
Is Ctrl+K what are you looking for?
Best regards.
Is Ctrl+K what are you looking for?
Best regards.
Re: Shortcut to place cursor in Search box?
LOL, you just made realize how unclear my question was! I meant the Forum search box that appears in the upper right-hand corner of every forum page. ctrl-K (or ctrl-L or, in Windows, alt-D) lands the cursor in the browser search box (or in the address bar, if the search box has been combined or removed).KNTRO wrote:Hi VLMin,
Is Ctrl+K what are you looking for?
Best regards.
Thank you!
Best regards,
Re: Shortcut to place cursor in Search box?
in the phpBB forum, I received this
To whomever has access to the PM Forum setup, does this (seemingly small) change workable, and is it something you would be willing to implement?it will work in phpbb styles if you put the correct code for it wherever the search box code is displayed.
you don't normally edit the core style files but if you did, you would open the prosilver/template/overall_header.html file in a text editor.
find:replace with:Code: Select all
<fieldset> <input name="keywords" id="keywords"Code: Select all
<fieldset> <input accesskey="f" name="keywords" id="keywords"
- New Tobin Paradigm
- Knows the dark side

- Posts: 8850
- Joined: 2012-10-09, 19:37
- Location: Skaro
Re: Shortcut to place cursor in Search box?
Why not.. instead of asking us to change the forum, you could use the search engine I created for the forum then do your searches from your browser with the browser search box focus key combo.
Re: Shortcut to place cursor in Search box?
I'm not going to change the forum to create ambiguity in browser behavior (making a shortcut key's behavior dependent on the site you visit) unless it would make sense. In this case, it does not.
If you want to search the forum, you can even (as an alternative to the forum search plugin) use Ctrl+K with DDG as search engine selected and prefix your search with !pmf
If you want to search the forum, you can even (as an alternative to the forum search plugin) use Ctrl+K with DDG as search engine selected and prefix your search with !pmf
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss


Re: Shortcut to place cursor in Search box?
That's a reasonable solution. Thanks for the tip!
-
KNTRO
Re: Shortcut to place cursor in Search box?
You can even try that right from the address bar!
Ctrl+L to focus at the address bar, and then enter, for instance, !pmf youtube html5 and hit the Enter key.
Ctrl+L to focus at the address bar, and then enter, for instance, !pmf youtube html5 and hit the Enter key.
Re: Shortcut to place cursor in Search box?
Thank you, KNTRO . I have the two bars combined, so for me ctrl-K and ctrl-L produce the same apparent result.
Best regards,
Best regards,


