@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 • 414 B
JSON
{
"name": "2dehands",
"detectCmp": [{ "exists": ".gdpr-notification" }],
"detectPopup": [{ "exists": ".gdpr-notification" }],
"optOut": [
{ "click": ".cookie-message-desktop > a" },
{ "waitFor": ".consent-purpose-checkbox[checked]" },
{ "click": ".consent-purpose-checkbox[checked]", "all": true },
{ "click": ".consent-submit-button" }
],
"optIn": [{ "click": ".ui-button-primary" }]
}