Module "frontend-packages/headless-content-unblocker/src/visual/findPreviousVisibleDuplicate"
Functions
findPreviousVisibleDuplicate
- findPreviousVisibleDuplicate(createBefore: HTMLElement, node: HTMLElement, blockerId: number): false | HTMLElement
-
Parameters
-
createBefore: HTMLElement
-
node: HTMLElement
-
blockerId: number
Returns false | HTMLElement
isHtmlNodeContentBlocker
- isHtmlNodeContentBlocker(node: HTMLElement): boolean
-
Parameters
Returns boolean
mapIgnoreInvisibleAndUsePreviousVisible
- mapIgnoreInvisibleAndUsePreviousVisible(element: HTMLElement): HTMLElement
-
Parameters
Returns HTMLElement
Find a duplicate before a given node to avoid duplicate content blockers for the same content.