HACKER Q&A
📣 ggm

How can I “prune” my omnibar matches to the longest subURL I want?


Consider:

  https://www.abc.net.au/
and

  https://www.abc.net.au/news
and

  https://www.abc.net.au/news/justin.
My question is twofold:

1) is it even possible to prune the history of omnibar searches in Chrome, such that the LONGEST url match is the "top" match, not the prefix?

2) if you wanted to describe this problem in a search in google, how would you write it?

I ask 2) because these kinds of meta-questions can be extremely hard to compose, without matching ludicrous numbers of unrelated questions.

  "prune search to longest match omnibar history chrome" 
Was actually not a bad hit, at least contextually right in some ways.

on a mac, the specific recipe which works (shift-DEL to prune terms from history DB in the local instance) was in this 1st page search, but buried. And of course, much harder on mobile devices.

This seems an under-documented tool.


  👤 sphars Accepted Answer ✓
Not sure on specific answers to your questions, but assuming you're on Chrome, you can view the omnibox internals on how it determines your query at

  chrome://omnibox/
and

  chrome://predictors/