Open amkuipers opened 2 years ago
How about an import
feature? That makes it independent of the use of the list.
And a systemctl timer unit to update the imported list?
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
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