Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: ad blocker #25

Open
amkuipers opened this issue Nov 21, 2021 · 3 comments
Open

feature request: ad blocker #25

amkuipers opened this issue Nov 21, 2021 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@amkuipers
Copy link

Enable feature that hed can download an add-blocker list (like pi hole) and appends it to the hosts file.

hed adblock https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

Advanced: mark beginning/end of the list with a magic comment so that the hed tool can also remove this list easy.

Advanced: have some preconfigured url's for blocker lists

@credmp
Copy link
Owner

credmp commented Jan 5, 2022

How about an import feature? That makes it independent of the use of the list.

@credmp credmp added the enhancement New feature or request label Jan 5, 2022
@credmp credmp added this to the 0.1.7 milestone Jan 5, 2022
@LevitatingBusinessMan
Copy link

And a systemctl timer unit to update the imported list?

@amkuipers
Copy link
Author

amkuipers commented Jan 31, 2022

There are all kind of external lists, this new feature should convert a list to the hosts file format using ip 0.0.0.0 . So that browsers will not retrieve ads that are listed. To manage a refresh of the list, add commented magic lines before and after the list. Or use some versioning/backup files.
Edit: I missed the commit above, sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants