hectorm / hblock

Improve your security and privacy by blocking ads, tracking and malware domains.
https://hblock.molinero.dev
MIT License
1.54k stars 100 forks source link

Whitelist feature #130

Closed CHJ85 closed 1 year ago

CHJ85 commented 1 year ago

Hi there. In some cases, it's beneficial to see ads. Like for instance while shopping for books on Amazon. Sometime I like to browse through related recommendations. Or if I want to support the website that I'm visiting. I suggest you implement a whitelist feature. I think it should work something like this: So let's say you have a text file called "whitelist" where you add all the whitelisted domains. Then each time hblock updates the hosts file, hblock will use the "whitelist" file as a reference and comment out those domains from the hosts file.

hectorm commented 1 year ago

I think you are describing the --allowlist feature which is already implemented in hBlock.

Could you check the documentation and confirm if it is what you are looking for?

CHJ85 commented 1 year ago

You're right. It's already there. My bad. Sorry.

hectorm commented 1 year ago

No problem.