Last active
August 20, 2026 10:43
-
-
Save danielvalentin/377331a9e5cfc072c867a60660596cc9 to your computer and use it in GitHub Desktop.
Consent-o-matic custom rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "GeniusCom": { | |
| "detectors": [ | |
| { | |
| "type": "css", | |
| "target": { | |
| "selector": "#onetrust-consent-sdk" | |
| } | |
| } | |
| ], | |
| "methods": [ | |
| { | |
| "name": "action_list", | |
| "action": [ | |
| { | |
| "type": "click", | |
| "target": { | |
| "selector": "#onetrust-pc-btn-handler" | |
| } | |
| }, | |
| { | |
| "type": "wait", | |
| "wait": 500 | |
| }, | |
| { | |
| "type": "click", | |
| "target": { | |
| "selector": ".ot-pc-refuse-all-handler" | |
| } | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment