hide-if-contains-visible-textsnippet hides any HTML element that matches a CSS selector if the element's visible text content contains a given string.
You can use this snippet to hide an element based on its visible text content.
The string to match to the visible text. The text is considered visible text assuming it's not hidden by CSS properties or other means. If the string begins 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
The following table lists examples that use the