Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/headless-content-unblocker/src/checker/findBlockedNodes"

Index

Type aliases

Row

Row: { blocker?: VisualConfiguration; consent: boolean; isVisualCb: boolean; node: HTMLElement; priority: number }

Type declaration

  • Optional blocker?: VisualConfiguration
  • consent: boolean
  • isVisualCb: boolean

    A visual content blocker is also discovered as blocked content. This flag simply indicates if this is a visual content blocker, or not.

  • node: HTMLElement
  • priority: number

Variables

Const FIND_BLOCKED_NODES_PRIORITY_NON_SCRIPT

FIND_BLOCKED_NODES_PRIORITY_NON_SCRIPT: 0 = 0

Const FIND_BLOCKED_NODES_PRIORITY_SCRIPT

FIND_BLOCKED_NODES_PRIORITY_SCRIPT: 10 = 10

Functions

findBlockedNodes

  • Read all HTML elements and check, if they can be enabled by a consent.

    Type parameters

    Parameters

    Returns Row[]

Generated using TypeDoc