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

11 lines (10 loc) 321 B
{ "name": "klaro", "detectCmp": [{ "exists": ".klaro > .cookie-notice" }], "detectPopup": [{ "visible": ".klaro > .cookie-notice" }], "optIn": [{ "click": ".cm-btn-success" }], "optOut": [{ "click": ".cn-decline" }], "test": [ { "eval": "Object.values(klaro.getManager().consents).every(c => !c)" } ] }