hide-if-graph-matches
The
hide-if-graph-matches
snippet hides any HTML element if its structure (graph) is classified as an ad by a built-in machine learning model.The
hide-if-graph-matches
snippet only works on Facebook.Name | Description | Mandatory |
---|---|---|
selector | A selector that produces a list of targets to hide. | Yes |
tagName | An optional selector for a child element of selector to run inference on. | Yes |
The following example uses the
hide-if-graph-matches
snippet:www.facebook.com,web.facebook.com#$#hide-if-graph-matches [role=feed]>[data-pagelet^=FeedUnit_] DIV
Last modified 3mo ago