mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-05 21:51:18 +01:00
Update SyntaxMeaningsThatAreActuallyHumanReadable.md
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
* `: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.
|
||||
* `:first-child` / `:last-child`: Appears to be synonymous with `first-of-type` and `last-of-type` for adblocking purposes.
|
||||
* `:before` / `:after`: Removes the pseudo-elements that belong to a page element.
|
||||
* `:before` / `:after`: Removes the pseudo-elements that belong to a page element. If a pseudo-element is present, they're shown as standalone `::before` or `::after` lines in all-brown in the F12 filetree.
|
||||
* `>`: Creates chain criteria, in which a selected page element must have a specific element on the floor above it in the filetree.
|
||||
* `+`: Blocks the element that is right below the criteria in the filetree. Example: `##.element + div` blocks that particular `div`.
|
||||
* `~`, as in `##.element ~ div`: Similar to `+`, but blocks *all* such elements that are below it on the same floor in the filetree, and not just the one right below.
|
||||
|
||||
Reference in New Issue
Block a user