Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "myCmp": {
- "detectors": [
- {
- "presentMatcher": {
- "type": "css",
- "target": {
- "selector": "[data-feature-id='page/gdpr-consent']"
- }
- },
- "showingMatcher": {
- "type": "css",
- "target": {
- "selector": "[data-feature-id='page/gdpr-consent'] .continue-btn.button.free"
- }
- }
- }
- ],
- "methods": [
- {
- "name": "OPEN_OPTIONS",
- "action": {
- "type": "click",
- "target": {
- "selector": ".continue-btn.button.free"
- }
- }
- },
- {
- "name": "DO_CONSENT",
- "action": {
- "type": "list",
- "actions": [
- {
- "type": "waitcss",
- "target": {
- "selector": ".agree-lbl"
- },
- "retries": 10,
- "waitTime": 250,
- "negated": false
- },
- {
- "type": "click",
- "target": {
- "selector": ".agree-lbl"
- }
- }
- ]
- }
- },
- {
- "name": "SAVE_CONSENT",
- "action": {
- "type": "click",
- "target": {
- "selector": ".continue-btn button accept-consent"
- }
- }
- },
- {
- "name": "HIDE_CMP",
- "action": null
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement