hide-if-containssnippet hides any HTML element (or its ancestors) that match a CSS selector if the element's text contains a given string.
You can use
hide-if-containsto hide elements based on their text content.
A pattern that matches the name of the cookie(s) you want to remove. If the string starts and ends with a slash (
The CSS selector that an HTML element must match for it to be hidden.
The CSS selector that an HTML element containing the given string must match. Defaults to the value of the selector argument.
The following table lists examples that use the