How to get the raw text from Opera's omnibox when the text is not a valid URI -
since opera no longer implements shortcut "/." visit slashdot.org, thought write extension replaces functionality.
i have not written opera extension, hit docs.
setting omnibox extension doesn't work, because requires user put space after keyword.
as "/." isn't valid url, i'm not seeing obvious way intercept it.
my issue boils down "how text before opera assumes user trying keyword search?"
"/." valid url, not working in opera. bug should fixed soon. still have wait until user put space , start typing text omnibox. event oninputstarted earliest event can catch. tried
chrome.omnibox.oninputstarted.addlistener(function () { chrome.tabs.create({url:"http://slashdot.org"}); })
and browser create tab after user type first letter.
Comments
Post a Comment