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

9 lines 363 B
{ "name": "cookieconsent", "prehideSelectors": ["[aria-label=\"cookieconsent\"]"], "isHidingRule": true, "detectCmp": [{ "exists": "[aria-label=\"cookieconsent\"]" }], "detectPopup": [{ "visible": "[aria-label=\"cookieconsent\"]" }], "optIn": [{ "click": ".cc-dismiss" }], "optOut": [{ "hide": ["[aria-label=\"cookieconsent\"]"] }] }