Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/headless-content-unblocker/src/dom/hijackJqueryFn"

Index

Variables

Const ALREADY_OVERWRITTEN_PROPERTY

ALREADY_OVERWRITTEN_PROPERTY: "listenOptInJqueryFnForContentBlockerNow" = "listenOptInJqueryFnForContentBlockerNow"

Const BLOCKED_ELEMENT_SELECTOR

BLOCKED_ELEMENT_SELECTOR: string = `[${HTML_ATTRIBUTE_BLOCKER_ID}]:not([${HTML_ATTRIBUTE_UNBLOCKED_TRANSACTION_COMPLETE}])`

Functions

hijackJqueryFn

  • hijackJqueryFn(fns: string[]): void
  • Modify a jQuery function to wait for consent if a content blocker is within the given selector.

    Parameters

    • fns: string[]

    Returns void

Generated using TypeDoc