mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-05 15:41:07 +01:00
Split up the "nth-of-type" info
As per https://github.com/DandelionSprout/adfilt/issues/7#issuecomment-581060448 and https://github.com/DandelionSprout/adfilt/issues/7#issuecomment-581103496.
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
* `: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.
|
||||
* `:nth-of-type(n)` / `:last-of-type` / `:only-of-type`: Finds page elements that are at a specific numerical position in a set.
|
||||
* `:nth-of-type(n)` / `:nth-last-of-type(n)`: Finds page elements that are at a specific numerical position in a set. Note that `:nth-last-of-type(n)`'s numbering goes in reverse order.
|
||||
* `:only-of-type` / `first-of-type` / `:last-of-type`: Less versatile versions of the above, for which numbers can't be chosen.
|
||||
* `:before` / `:after`: Removes the pseudo-elements that belong to a page element.
|
||||
* `>`: Creates chain criteria, in which a selected page element must have a specific element above it in the filetree.
|
||||
* `+`: Blocks the element that is right below the criteria in the filetree. Example: `##.element + div` blocks that particular `div`.
|
||||
|
||||
Reference in New Issue
Block a user