Documentation

plugins

Table of Contents

Namespaces

imagePreview
internal
scanner
selectorSyntaxFunction
serviceCloudConsumer
tcf
thirdParty

Classes

AdditionalAttributesBlocker
Converts e.g. `onload` attributes to `consent-original-src` attributes when item got blocked.
AttributeJsonBlocker
Block content deeply in JSON attributes instead of the whole element e.g. `<div class="et_pb_code_inner" data-et-multi-view ="{&quot;schema&quot;:{&quot;content&quot;:{&quot;desktop&quot;:&quot;&lt;div align=&#039;center&#039;&gt;\n&lt;iframe src=\&quot;https:\/\/www.google.com\/maps\/embed...`.
Autoplay
Convert links to autoplay links for known video and sound platforms.
BlockablesSorter
Allows to sort blockables by multiple criteria. Blockables are applied from top to bottom, so the first blockable has the highest priority. This is useful for the blocking mechanism itself as the first matching blockable blocks the content. On the other hand, when using the scanner, multiple blockables can be applied to the same content.
CalculateUniqueKeys
Append a calculated unique key of the tag to the tag.
CustomElementBlocker
Allows to block custom elements.
DoNotBlockScriptTextTemplates
This plugin allows you to not block content within `script[type="text/template"]` markups.
Image
Block `srcset` attribute for media tags and create the correct visual parent for media tags.
LinkBlocker
Block `href` attribute for special links. Usually, the blocker does not block links cause they do not load external sources. But there are some special cases, e.g.
LinkRelBlocker
Block `<link`'s with `preconnect`, `dns-prefetch` and `preload`. It means, it removes the node completely from the HTML document if possible.
ReattachDom
Allows to reattach a specific DOM node. That means, DOM node gets removed and added again.
RemoveAlwaysCSSClasses
Allows to remove specific CSS classes from `class` definition without touching others. This is useful for e.g. lazy-loading libraries.
ScriptInlineExtractExternalUrl
Detect semantically a script which could be loaded by an inline script.
ScriptInlineJsonBlocker
Check if an inline script is a localized script via e.g. `wp_set_script_translations` and check if the JSON has blocked content.
StandardPlugin
Provide a standard configuration for the headless content blocker.

        
On this page

Search results