Request to parse HaGeZi's adblock plus style block lists
-
I use one of hagezi's lists in addition to others such as OISD. Since OISD is moving to Adblock Plus syntax, I figured I'd start using Adblock Plus style lists when the maintainer offers it. Hagezi offers lists in multiple formats including Adblock Plus. pfblockerng.inc checks for a header indicating the file follows Adblock Plus syntax. I've modified my local pfblockerng.inc file to parse HaGeZi's as Adblock Plus style. Is this something @BBcan177 or @andrebrait (I noticed you're working on adding support for OISD's ABP style; Thank you!) or another maintainer can add to the official pfBlockerNG source?
Here is a diff showing the change I've made to my local instances:
--- pfblockerng.inc 2023-10-08 15:45:28.823470000 -0500 +++ pfblockerng.inc.rab 2023-10-08 15:45:10.531307000 -0500 @@ -8351,6 +8351,7 @@ if (strpos($line, '[Adblock Plus ') !== FALSE || strpos($line, '[Adblock Plus]') !== FALSE || strpos($line, '[uBlock Origin') !== FALSE || + strpos($line, "! Title: HaGeZi's") !== FALSE || strpos($line, '! Title: AdGuard') !== FALSE) { $easylist = $validate_header = TRUE; continue;Thanks!
-
I submitted a merge request to FreeBSD-ports https://github.com/pfsense/FreeBSD-ports/pull/1309
EDIT: I see the above will be obsolete if/when https://github.com/pfsense/FreeBSD-ports/pull/1303 is merged.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy