How do I manually sort Chrome's Smart Bar results?

All we need is an easy explanation of the problem, so here it is.

I use Chrome as my default browser. This includes my browser for work.

We have a trac setup that uses folder paths (see example) for the different projects

Example:

  • main.employertracsite.com/projects/projectname

I want the ability to manually sort the results that are displayed in the auto-complete.

Chrome displays auto-complete based on the usage history of a web address. Which means that a project that isn’t my main focus is displayed in the url instead of the one that I’ve been using more lately.

Example:

  • main.employertracsite.com/projects/alliance is the project that I’m not using all the time anymore and is showing up in auto-complete
  • main.employertracsite.com/projects/horde is the project that I am using more often now and want to show up in the auto-complete

I don’t want to delete the alliance from my history, but I do want the ability to be able to manually adjust which project shows up in auto-complete. This will be more usable for me in the future because I’m constantly on different projects full-time and they each have their own area.

I also do not want to delete my history.

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

Trickery Method

Bookmark the URL you want rated higher. Bookmarks in Chrome’s Omnibox will be prefixed with a Star Icon and are rated higher than the ones marked with a History icon (the clock).

Brute Force Method – Sqlite3

You can manually edit the history file. It’s a sqlite3 file named "History".

Linux: $HOME/.config/google-chrome/Default/

Windows 7: c:/Users/<USER>/Application Data/Local/Google/Chrome/User Data/Default

The 2 main tables you’ll want to address are "urls" and "visits".

Please note the History file is locked when Chrome is running, and you’ll want to make a backup. I believe you need you can jack up the visit counter or alternatively delete the lower priority entry and then re-add it manually.

Search Method

Embed the search engine built into the website and use a keyword within the "Managed Search Engine". Right clicking within most search boxes should list "Add as Search Engine…" in Chrome’s context menu.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply