I’m creating plugin for Chrome and I’m trying to use omnibox. Suppose my plugin suggests abcd. User types o ab (o – omnibox keyword) and can select my suggestion and press enter. The next time user types o ab Chrome also suggests chrome-extension://jiplmmiemkpcomooikeeicllpnmnlaia/?q=abcd. If I’ll open it I will see Error 6 (net::ERR_FILE_NOT_FOUND): The file or directory could not be found.. How can I disable this suggestions (chrome-extension://...)?
I’m creating plugin for Chrome and I’m trying to use omnibox. Suppose my plugin
Share
I have solved this Chrome omnibox “polution” by adding 5 more suggestions. Because Chrome displays max 5 suggestions,
chrome-extension://jiplmmiemkpcomooikeeicllpnmnlaia/is not displayed. So in addition to “main” suggestion options I have “secondary” suggestion options like::help– open help page:open_site– open plugin’s site:settings– open settings pageYour plugin may have other secondary suggestions. This solution also fixes search result problem