RaspAP/raspap-webgui

[ Feature request ] User-configurable adblock lists

Closed this issue · 2 comments

Is your feature request related to a problem?

The existing adblock list management relies on hard-coded logic in the Ajax handler. That is, it isn't possible to add custom blocklist sources by editing config/blocklists.json without also modifying the associated PHP code, as described in #1879.

Describe the solution you'd like

A better solution would be to enhance blocklists.json with nested metadata, so that the updater could handle it in a more generalized way. This would also enable user-defined entries, or even fully custom (and portable) blocklists for RaspAP.

Describe alternatives you've considered

N/A

Additional context

Hagezis's blocklists have gained in popularity since the current badmojr/1Hosts lists were integrated.
thanks to @Graham1808 for raising this.

Hi Team seen the blocklist has been added great work thank you!

@Graham1808 thank YOU for suggesting Hagezi's lists!