I’m wondering if this kind of thing should be made possible via the plugin API (allowing plugins to manipulate history) or in the main build of the browser, but I think it should exist nonetheless.
Essentially, if a site matches (or doesn’t match?) a wildcard, it goes into history.
So say you have your history macros set as such:
And your history was something like:
Only these sites would show in your history: