adblock-rust icon indicating copy to clipboard operation
adblock-rust copied to clipboard

support AdGuard scriptlet syntax

Open antonok-edm opened this issue 2 years ago • 1 comments

AdGuard uses #%#//scriptlet(...) for scriptlet injection syntax, whereas uBO filter lists generally use +js(...). AdGuard's syntax requires quoting, which is supported in adblock-rust as of v0.8.3, so it could now be supported as an additional syntax alias.

antonok-edm avatar Nov 16 '23 21:11 antonok-edm

Good idea. Currently AG filters lists use uBO scriptlet syntax (##+js(...)), but since uBO now supports the AG one (#%#//scriptlet(...)) probably in the future they will use their own syntax.

However, as of now I think is more important adblock-rust supports AdGuard cosmetic filter variants (https://github.com/brave/adblock-rust/issues/236) and other procedural filters (https://github.com/brave/adblock-rust/issues/293) because this will improve adblocking quality a lot.

superlex avatar Nov 30 '23 19:11 superlex