mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-09-24 21:30:19 +01:00
Added 2 syntaxes
As per https://github.com/DandelionSprout/adfilt/issues/63#issuecomment-681145269
This commit is contained in:
@@ -13,9 +13,11 @@
|
||||
* `#@#.`/`#@#`/`#@##`: Whitelists page elements to make them load.
|
||||
* `[href="text"]`: Finds page elements whose values in the F12 filetree console contains such a value. The value can be `href`, `id`, `class`, `type`, or numerous other things that are highlighted in brown in the F12 filetree. Does not support RegEx.
|
||||
* `[href^="text"]`: Finds page elements whose value *begins* with the text.
|
||||
* `[href="text" i]`: Save as above, except case-insensitive.
|
||||
* `[href$="text"]`: Finds page elements whose value *ends* with the text.
|
||||
* `[href*="text"]`: Finds page elements whose value contains the text anywhere within it.
|
||||
* `[href="text" i]`: Save as above, except case-insensitive.
|
||||
* `[href~="text"]`: Finds page elements whose value contains the word (with spaces around it) anywhere within it.
|
||||
* `[href|="text"]`: Same as `[href="text"]`, but can also select text that is then followed by a dash.
|
||||
* `:not(.element)`: Finds page elements that doesn't contain a specified element or text string. Can be paired with other syntaxes à la `:not(:-abp-contains(Example text))`.
|
||||
* `:-abp-contains(text)`: Finds page elements that contains such text within it.
|
||||
* `:-abp-has(.element)`: Finds page elements that contains such an element within it.
|
||||
|
||||
Reference in New Issue
Block a user