https://help.eyeo.com/adblockplus/how-to-write-filters
https://github.com/DandelionSprout/adfilt/blob/master/Wiki/SyntaxMeaningsThatAreActuallyHumanReadable.md
https://github.com/Sappurit/Sappurit-uBlock-Filters/blob/master/Filter_Basic.md
- Network Filters (Simple blocking rules)
- Cosmetic Filters (Hiding elements)
- Type
- Generic = Apply to all domains
- Specific = Prefixed with the domain on which they are meant to apply
- Method
- Standard Cosmetic Filters = CSS Selector
- Procedural Cosmetic Filters = Javascript code is used to find DOM elements
- Type
Code: Select all
Generic -> Bad ##body > div:has-text(Sponsored)
Specific -> Good example.com##body > div:has-text(Sponsored)