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

14 lines (13 loc) 458 B
{ "name": "eu-cookie-compliance-banner", "detectCmp": [{ "exists": ".eu-cookie-compliance-banner-info" }], "detectPopup": [{ "visible": ".eu-cookie-compliance-banner-info" }], "optIn": [{ "click": ".agree-button" }], "optOut": [ { "click": ".decline-button", "optional": true }, { "hide": [".eu-cookie-compliance-banner-info", "#sliding-popup"] } ], "test": [ { "eval": "document.cookie.indexOf('cookie-agreed=2') === -1" } ] }