Reputation: 13065
I am making a Google Chrome extension that overrides the New Tab (the page that appears when the user opens a new tab or window).
I want to trigger the focus on the Google's address bar on a button click. I've read the chrome.omnibox docs, but I haven't found a method that triggers its focus.
Is there a trick how I can do that?
Upvotes: 3
Views: 628
Reputation: 13065
The answer is: No!
I've tried a million workarounds and tricks, but nothing helped.
My conclusion is that this action is considered to be a security (and privacy) vulnerability, and therefore is not allowed.
Upvotes: 2