HistoryBlock
HistoryBlock copied to clipboard
Ignore URL parameters (?query and #anchors) in URL matching mode
I want to prevent search results (e.g. www.google.com/search?q=foobar) to appear in my history, but none of the available options seem to work for me:
- if I add
www.google.comin subdomain matching mode, that also blocks other Google services, like Google Maps (www.google.com/maps), which I don't want; - If I add
https://www.google.com/searchin URL matching mode, no pages are blocked because the actual URL of search pages contains the query string (?q=foobar&...).
I can see a few possible solutions for this:
- Change the URL matching mode to match the full URL but ignoring any query string parameters and anchors/fragment identifiers (
#foobar), as suggested in the title of this issue; - Add a separate matching mode that behaves like this (maybe call it "base URL" or something?);
- Support wildcards in the blacklist entries, so I could write something like
www.google.com/search/*and it would match the search results URLs.
I don't have any preference for one of the solutions above; I'd be happy with any feature that would support the desired usage pattern I describe above.