mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Updated Procedural cosmetic filters (markdown)
parent
43b64b42a4
commit
bfd0ba813d
1 changed files with 1 additions and 1 deletions
|
|
@ -68,4 +68,4 @@ Same as `:matches-css(...)` except that the style will be looked-up for `:after`
|
|||
- Examples:
|
||||
- `facebook.com##:xpath(//div[@id="stream_pagelet"]//div[starts-with(@id,"hyperfeed_story_id_")][.//h6//span/text()="People You May Know"])`
|
||||
|
||||
The `:xpath(...)` operator is different than other operators. Whereas all other operators are used to filter down a resultset of elements, the `:xpath(...)` operator can be used bot to create a new resultset or filter down an existing one. For this reason, _subject_ is optional.
|
||||
The `:xpath(...)` operator is different than other operators. Whereas all other operators are used to filter down a resultset of elements, the `:xpath(...)` operator can be used bot to create a new resultset or filter down an existing one. For this reason, _subject_ is optional. For example, an `:xpath(...)` operator could be use to create a new resultset consisting of all ancestors elements of a subject element, something not otherwise possible with either plain CSS selectors or other procedural operators.
|
||||
|
|
|
|||
Loading…
Reference in a new issue