UNPKG

@cliqz/autoconsent

Version:

This is a library of rules for navigating through common consent popups on the web. These rules can be run in a Firefox webextension, or in a puppeteer orchestrated headless browser. Using these rules, opt-in and opt-out options can be selected automatica

12 lines 410 B
{ "name": "InternetBrands", "detectCmp": [{ "exists": ".ibeugdpr-banner" }], "detectPopup": [{ "exists": "body.ibeugdpr-disabled" }], "optOut": [ { "eval": "document.querySelectorAll('.ibeugdpr-disabled').forEach(e => e.classList.remove('ibeugdpr-disabled')) || true" }, { "hide": [".ibeugdpr-banner", ".ibeugdpr-overlay"] } ], "optIn": [{ "click": ".ibeugdpr-consent-button" }] }