HTML_ATTRIBUTE_CAPTURE_PREFIX
HTML_ATTRIBUTE_CAPTURE_PREFIX ='consent-original'
When transforming a blocked attribute, it gets prefixed and suffixed.
Common constants for the headless content blocker.
HTML_ATTRIBUTE_VISUAL_PARENT ='consent-visual-use-parent'
A tag got blocked, e. g. `iframe`. We can now determine the "Visual Parent". The visual parent is the closest parent where the content blocker should be placed to. The visual parent can be configured as follow:
false
= Use original elementtrue
= Use parent elementnumber
= Go upwards x element (parentElement)string
= Go upwards until parentElement matches a selectorstring
= Starting with children:
you can querySelector
down to create the visual parent for a children