Skip to content

Instantly share code, notes, and snippets.

@Porygon31
Last active January 4, 2024 20:28
Show Gist options
  • Save Porygon31/2c5d3a484573b485ca8113622218a0e7 to your computer and use it in GitHub Desktop.
Save Porygon31/2c5d3a484573b485ca8113622218a0e7 to your computer and use it in GitHub Desktop.
Consent-O-Matic Deepl.com rule
{
"deepl": {
"detectors": [
{
"presentMatcher": {
"type": "css",
"target": {
"selector": "#CondensedStrictBanner-header"
}
}
}
],
"methods": [
{
"name": "HIDE_CMP",
"action": {
"type": "click",
"target": {
"selector": "[data-testid='cookie-banner-strict-accept-selected']"
}
}
}
]
},
"ezoic": {
"detectors": [
{
"presentMatcher": {
"type": "css",
"target": {
"selector": "#ez-cookie-dialog"
}
}
}
],
"methods": [
{
"name": "DO_ACTION",
"action": {
"type": "list",
"actions": [
{
"type": "click",
"target": {
"selector": "#ez-manage-settings"
}
},
{
"type": "click",
"target": {
"selector": "input.ez-cmp-li-checkbox[data-id='11']"
}
},
{
"type": "click",
"target": {
"selector": "input.ez-cmp-li-checkbox[data-id='10']"
}
},
{
"type": "click",
"target": {
"selector": "input.ez-cmp-li-checkbox[data-id='2']"
}
},
{
"type": "click",
"target": {
"selector": "input.ez-cmp-li-checkbox[data-id='7']"
}
},
{
"type": "click",
"target": {
"selector": "input.ez-cmp-li-checkbox[data-id='8']"
}
},
{
"type": "click",
"target": {
"selector": "input.ez-cmp-li-checkbox[data-id='9']"
}
},
{
"type": "click",
"target": {
"selector": "#ez-save-settings"
}
}
]
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment