feature request: ad blocker #25

Open
opened 2021-11-21 13:17:25 +00:00 by amkuipers · 3 comments
amkuipers commented 2021-11-21 13:17:25 +00:00 (Migrated from github.com)

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

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 commented 2022-01-05 16:26:51 +00:00 (Migrated from github.com)

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

How about an `import` feature? That makes it independent of the use of the list.
LevitatingBusinessMan commented 2022-01-30 19:31:39 +00:00 (Migrated from github.com)

And a systemctl timer unit to update the imported list?

And a systemctl timer unit to update the imported list?
amkuipers commented 2022-01-31 00:54:28 +00:00 (Migrated from github.com)

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

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 in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
arjen/hed#25
No description provided.