Is it in anyway possible to increase the number of suggests that your extension may show in the omnibox?
By default it looks like 5 rows is the limit. I've read about a command line switch to change the number of rows (--omnibox-popup-count
) but I am really interested in dynamically being able to set this in my extension.
5 rows isn't really enough for the information my extension want to show.
The omnibox API allows you to register a keyword with Google Chrome's address bar, which is also known as the omnibox.
Scroll down and click on Show advanced Settings link. Under privacy section, untick the “Use a prediction service to help complete searches and URLs typed in the address bar” option. This will disable URL predictions and search suggestions in Omnibox.
» Not hardcoded anymore! chrome://flags/#omnibox-ui-max-autocomplete-matches . Credit goes to @version365 answering below: http://stackoverflow.com/a/47806290/234309 « – Aaron Thoma
..[historical] detail: since the removal of --omnibox-popup-count flag (http://codereview.chromium.org/2013008) in May 2010 the number [was] hardcoded:
const size_t AutocompleteResult::kMaxMatches = 6;
a discussion two years later on the chromium-discuss mailing list about the 'Omnibox default configuration' "concluded"
"On lower performing machines generating more result would slow down the result display. The current number look like a good balance."
[which is not a very valid argument, considering the probably infinitesimal overhead retrieving more items than the hard-wired number]
why the heck is there no chromium fork that removes stupid UX limitations like this (or the no tabbar in fullscreen mode)^^
Since there is no more --omnibox-popup-count
flag; you can use another flag which is new.
chrome://flags/#omnibox-ui-max-autocomplete-matches
lets you select a maximum of 12 rows.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With