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

10 lines (9 loc) 291 B
{ "name": "cookie-notice", "prehideSelectors": ["#cookie-notice"], "isHidingRule": true, "detectCmp": [{ "exists": "#cookie-notice" }], "detectPopup": [{ "visible": "#cookie-notice" }], "optIn": [{ "hide": ["#cn-accept-cookie"] }], "optOut": [{ "hide": ["#cookie-notice"] }] }