HistoryCleaner icon indicating copy to clipboard operation
HistoryCleaner copied to clipboard

[feature request] A NSFW filter

Open codemonstur opened this issue 10 months ago • 3 comments

I'd like an option to automatically delete all entries for NSFW websites.

codemonstur avatar Jan 19 '25 09:01 codemonstur

That seems to be a difficult request. How would the addon know which sites are NSFW?

herrbrixter avatar Feb 27 '25 17:02 herrbrixter

You can:

  • match hostnames against a blacklist
  • match against known keywords
  • allow users to add sites to the hostname blacklist

The list doesn't have to be extensive. Most are pretty obvious.

codemonstur avatar Feb 28 '25 08:02 codemonstur

Not difficult to implement, there are public and regularly updated NSFW domain filter lists.

This one is used by many DNS-based blockers: https://oisd.nl/

nisc avatar Apr 27 '25 01:04 nisc