adblock-filter-analyzer
adblock-filter-analyzer copied to clipboard
AdBlock Filter Syntax code highlighter and partial validator. Colorizes and explains the syntax. Good for learning.
Hello, @xvello created [letsblockit](https://github.com/xvello/letsblockit#readme) which is a FOSS application ([Apache 2.0](https://github.com/xvello/letsblockit/blob/main/LICENSE.txt)) to centralise your adblock filter and share it amongst your devices and friends. I raised the question whether it...
Header and footer should be present.
specialComments ! https://help.eyeo.com/adblockplus/how-to-write-filters#special-comments ```` ! Homepage: ! Title: ! Expires: ! Redirect: ! Version:
For example, maybe I want to display all lines with the `:find-attr(` cosmetic filter.
Should be easy enough to switch my GUI to the UBO parser engine (static-filtering-parser.js) https://github.com/gorhill/uBlock/blob/2eec28520f540440c57e9d5a465d8a61054295ea/src/js/static-filtering-parser.js#L321
https://github.com/gorhill/uBlock/blob/2eec28520f540440c57e9d5a465d8a61054295ea/src/js/static-filtering-parser.js#L321 For example, looks like || and | may be allowed in front of a regex, and | may be allowed after a regex