Suppose there is a custom search engine on the Google Custom Search Engine . URL . And its code consists only of a script from Google:
<script> (function() { var cx = '008959915961530481423:nigd_brnqzu'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script> <gcse:search></gcse:search> I have a tab in my browser with the page where the script of this search engine is located, and the cursor is in any of the browser input fields, for example, search bar or address bar . It is necessary that when you press, for example, Ctrl + Alt + K in any common browser, the text in the input form of this search engine is highlighted (or if it is not, the cursor would be placed at the beginning of the form).
Example: I have a Wikipedia page open, and my cursor is in the address bar . I press the combination Alt + Shift + F → the cursor is transferred to the Wikipedia search field, highlighting the text if it is there.

Just need to enter the form of my search engine, not Wikipedia. In an open HTML page, where this search engine script is located, there will be many elements, but only one text entry form, from this very custom search engine.

What tried options are not suitable.
- Installation of add-ons, add-ons, etc. on the client side. Search engine users do not have to install anything on their part; they only need to press Ctrl + Alt + K in any of the common browsers.
- Accesskey attribute In the above code there are no tags
input,textareaor other, just a script from Google. accesskey has nowhere to insert. Ctrl + K and Ctrl + E combinations in browsers. Yes, there are technologies like OpenSearch , but
- In the Search Bar, users will probably have another search engine open,
- Installing the search engine in the Search Bar will require extra traffic from the user,
- To switch between search engines in the Search Bar, the user will need to click on the browser combination of hot keys several times.
Tab Key. On the page with a search engine there will be many elements: Tab will have to be pressed many times, the transition to the input form will not be realized immediately.
What can be done to create shortcuts? The site where the search engine is located is static, technologies other than HTML and JavaScript are apparently not supported.
address barfocused and when you pressAlt+Shift+Ffocus on custom search does not shift. In Mozilla focus is translated. Wikipedia on user search isaccesskey="f". - Stepan Kasyanenko