How to steal focus from the omnibox in a Chrome extension on the new tab page?
问题 I'm making a Chrome extension that involves putting a text input on the new tab page, and immediately giving focus to that input text when the new tab page loads. After being unable to get focus using traditional methods (e.g. focus() ), I stumbled upon this question: Chrome 27: New Tab Page extension can't steal focus from Omnibox which states that Chrome has now made it so that you can't steal omnibox focus on a new tab page. Given that Chrome is fine with giving focus to any site that isn