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 576 B
{ "name": "funding-choices", "prehideSelectors": [".fc-consent-root,.fc-dialog-container,.fc-dialog-overlay,.fc-dialog-content"], "detectCmp": [{ "exists": ".fc-consent-root" }], "detectPopup": [{ "exists": ".fc-dialog-container" }], "optOut": [ { "click": ".fc-cta-do-not-consent,.fc-cta-manage-options" }, { "click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked", "all": true, "optional": true }, { "click": ".fc-confirm-choices", "optional": true } ], "optIn": [{ "click": ".fc-cta-consent" }] }