@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
30 lines • 824 B
JSON
{
"name": "Termly",
"detectCmp": [
{ "exists": "section[class^='termly-consent-banner-termly-banner-']" }
],
"detectPopup": [
{ "visible": "section[class^='termly-consent-banner-termly-banner-']" }
],
"optIn": [
{ "click": "a[class^='termly-consent-banner-preference-']", "wait": 400 },
{
"click": "input[class^='termly-switch-checkbox-']:not(:checked)",
"all": true
},
{
"click": "[class^='termly-consent-banner-footer-'] > button:first-of-type"
}
],
"optOut": [
{ "click": "a[class^='termly-consent-banner-preference-']", "wait": 400 },
{
"click": "input[class^='termly-switch-checkbox-']:checked",
"all": true,
"optional": true
},
{
"click": "[class^='termly-consent-banner-footer-'] > button:first-of-type"
}
]
}