Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Chrome Extensions - Set focus to omnibar

I´m developing a Google Chrome Extension which need to set the focus to the Omnibar. I haven´t found anything in the API reference. Is it possible to do that?

Thanks for your help!

like image 658
Van Coding Avatar asked Nov 06 '22 02:11

Van Coding


1 Answers

No such API method, plus looks like it is not possible to simulate a keyboard shortcut that puts focus into the ominbox (CTRL+L) as explained here.

like image 125
serg Avatar answered Nov 12 '22 11:11

serg