How to use the @cliqz/adblocker-content.injectScript function in @cliqz/adblocker-content

To help you get started, we’ve selected a few @cliqz/adblocker-content examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cliqz-oss / adblocker / packages / adblocker-webextension-cosmetics / adblocker.ts View on Github external
      setTimeout(() => injectScript(scripts[i], window.document), 0);
    }
github cliqz-oss / adblocker / packages / adblocker-circumvention / src / helpers.ts View on Github external
return (window: Window, args: any[]) =>
    injectScript(wrapCallableInContext(autoCallFunction(fn, args), deps), window.document);
}

@cliqz/adblocker-content

Ghostery adblocker library (content-scripts helpers)

MPL-2.0
Latest version published 24 days ago

Package Health Score

56 / 100
Full package analysis

Similar packages