mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-11-24 06:12:42 +00:00
Added 2 syntaxes
As per https://github.com/DandelionSprout/adfilt/issues/63#issuecomment-681145269
This commit is contained in:
1 parent
2091491c75
commit
9d73e974d8
1 file changed
+3
-1
@@ -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