@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
1,610 lines (1,609 loc) • 99.3 kB
JSON
{
"autoconsent": [
{
"name": "asus",
"detectCmp": [
{
"exists": "#cookie-policy-info"
}
],
"detectPopup": [
{
"visible": "#cookie-policy-info"
}
],
"optIn": [
{
"click": ".btn-read-ck"
}
],
"optOut": [
{
"click": ".btn-setting"
},
{
"click": ".btn-save"
}
]
},
{
"name": "cc_banner",
"prehideSelectors": [
".cc_banner-wrapper"
],
"isHidingRule": true,
"detectCmp": [
{
"exists": ".cc_banner-wrapper"
}
],
"detectPopup": [
{
"visible": ".cc_banner"
}
],
"optIn": [
{
"click": ".cc_btn_accept_all"
}
],
"optOut": [
{
"hide": [
".cc_banner-wrapper"
]
}
]
},
{
"name": "cookie-law-info",
"prehideSelectors": [
"#cookie-law-info-bar"
],
"detectCmp": [
{
"exists": "#cookie-law-info-bar"
}
],
"detectPopup": [
{
"visible": "#cookie-law-info-bar"
}
],
"optIn": [
{
"click": "[data-cli_action=\"accept\"]"
}
],
"optOut": [
{
"hide": [
"#cookie-law-info-bar"
]
},
{
"eval": "CLI.disableAllCookies() || CLI.reject_close() || true"
}
],
"test": [
{
"eval": "document.cookie.indexOf('cookielawinfo-checkbox-non-necessary=yes') === -1"
}
]
},
{
"name": "cookie-notice",
"prehideSelectors": [
"#cookie-notice"
],
"isHidingRule": true,
"detectCmp": [
{
"exists": "#cookie-notice"
}
],
"detectPopup": [
{
"visible": "#cookie-notice"
}
],
"optIn": [
{
"hide": [
"#cn-accept-cookie"
]
}
],
"optOut": [
{
"hide": [
"#cookie-notice"
]
}
]
},
{
"name": "cookieconsent",
"prehideSelectors": [
"[aria-label=\"cookieconsent\"]"
],
"isHidingRule": true,
"detectCmp": [
{
"exists": "[aria-label=\"cookieconsent\"]"
}
],
"detectPopup": [
{
"visible": "[aria-label=\"cookieconsent\"]"
}
],
"optIn": [
{
"click": ".cc-dismiss"
}
],
"optOut": [
{
"hide": [
"[aria-label=\"cookieconsent\"]"
]
}
]
},
{
"name": "Drupal",
"detectCmp": [
{
"exists": "#drupalorg-crosssite-gdpr"
}
],
"detectPopup": [
{
"visible": "#drupalorg-crosssite-gdpr"
}
],
"optOut": [
{
"click": ".no"
}
],
"optIn": [
{
"click": ".yes"
}
]
},
{
"name": "eu-cookie-compliance-banner",
"isHidingRule": true,
"detectCmp": [
{
"exists": ".eu-cookie-compliance-banner-info"
}
],
"detectPopup": [
{
"visible": ".eu-cookie-compliance-banner-info"
}
],
"optIn": [
{
"click": ".agree-button"
}
],
"optOut": [
{
"click": ".decline-button,.eu-cookie-compliance-save-preferences-button",
"optional": true
},
{
"hide": [
".eu-cookie-compliance-banner-info",
"#sliding-popup"
]
}
],
"test": [
{
"eval": "document.cookie.indexOf('cookie-agreed=2') === -1"
}
]
},
{
"name": "funding-choices",
"prehideSelectors": [
".fc-consent-root,.fc-dialog-container,.fc-dialog-overlay,.fc-dialog-content"
],
"detectCmp": [
{
"exists": ".fc-consent-root"
}
],
"detectPopup": [
{
"exists": ".fc-dialog-container"
}
],
"optOut": [
{
"click": ".fc-cta-do-not-consent,.fc-cta-manage-options"
},
{
"click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked",
"all": true,
"optional": true
},
{
"click": ".fc-confirm-choices",
"optional": true
}
],
"optIn": [
{
"click": ".fc-cta-consent"
}
]
},
{
"name": "hubspot",
"detectCmp": [
{
"exists": "#hs-eu-cookie-confirmation"
}
],
"detectPopup": [
{
"visible": "#hs-eu-cookie-confirmation"
}
],
"optIn": [
{
"click": "#hs-eu-confirmation-button"
}
],
"optOut": [
{
"click": "#hs-eu-decline-button"
}
]
},
{
"name": "klaro",
"detectCmp": [
{
"exists": ".klaro > .cookie-notice"
}
],
"detectPopup": [
{
"visible": ".klaro > .cookie-notice"
}
],
"optIn": [
{
"click": ".cm-btn-success"
}
],
"optOut": [
{
"click": ".cn-decline"
}
],
"test": [
{
"eval": "Object.values(klaro.getManager().consents).every(c => !c)"
}
]
},
{
"name": "notice-cookie",
"prehideSelectors": [
".button--notice"
],
"isHidingRule": true,
"detectCmp": [
{
"exists": ".notice--cookie"
}
],
"detectPopup": [
{
"visible": ".notice--cookie"
}
],
"optIn": [
{
"click": ".button--notice"
}
],
"optOut": [
{
"hide": [
".notice--cookie"
]
}
]
},
{
"name": "Onetrust",
"prehideSelectors": [
"#onetrust-banner-sdk,#onetrust-consent-sdk,.optanon-alert-box-wrapper,.onetrust-pc-dark-filter,.js-consent-banner"
],
"isHidingRule": true,
"detectCmp": [
{
"exists": "#onetrust-banner-sdk,.optanon-alert-box-wrapper"
}
],
"detectPopup": [
{
"visible": "#onetrust-banner-sdk,.optanon-alert-box-wrapper"
}
],
"optOut": [
{
"click": "#onetrust-pc-btn-handler,.ot-sdk-show-settings,button.js-cookie-settings"
},
{
"waitFor": "#onetrust-consent-sdk",
"timeout": 2000
},
{
"wait": 1000
},
{
"click": "#onetrust-consent-sdk input.category-switch-handler:checked,.js-editor-toggle-state:checked",
"all": true,
"optional": true
},
{
"waitForThenClick": ".save-preference-btn-handler,.js-consent-save",
"timeout": 1000
}
],
"optIn": [
{
"click": "onetrust-accept-btn-handler,js-accept-cookies"
}
],
"test": [
{
"eval": "window.OnetrustActiveGroups.split(',').filter(s => s.length > 0).length <= 1"
}
]
},
{
"name": "osano",
"prehideSelectors": [
".osano-cm-window"
],
"isHidingRule": true,
"detectCmp": [
{
"exists": ".osano-cm-window"
}
],
"detectPopup": [
{
"visible": ".osano-cm-dialog"
}
],
"optIn": [
{
"click": ".osano-cm-accept-all"
}
],
"optOut": [
{
"hide": [
".osano-cm-window"
]
}
]
},
{
"name": "quantcast",
"prehideSelectors": [
"#qc-cmp2-main,#qc-cmp2-container"
],
"detectCmp": [
{
"exists": "#qc-cmp2-container"
}
],
"detectPopup": [
{
"visible": "#qc-cmp2-ui"
}
],
"optOut": [
{
"click": ".qc-cmp2-summary-buttons > button[mode=\"secondary\"]"
},
{
"waitFor": "#qc-cmp2-ui"
},
{
"click": ".qc-cmp2-toggle-switch > button[aria-checked=\"true\"]",
"all": true,
"optional": true
},
{
"click": ".qc-cmp2-main button[aria-label=\"REJECT ALL\"]",
"optional": true
},
{
"waitForThenClick": ".qc-cmp2-main button[aria-label=\"SAVE & EXIT\"],.qc-cmp2-buttons-desktop > button[mode=\"primary\"]",
"timeout": 5000
}
],
"optIn": [
{
"click": ".qc-cmp2-summary-buttons > button[mode=\"primary\"]"
}
]
},
{
"name": "Tealium",
"prehideSelectors": [
"#__tealiumGDPRecModal,#__tealiumGDPRcpPrefs,#consent-layer"
],
"isHidingRule": false,
"detectCmp": [
{
"exists": "#__tealiumGDPRecModal"
},
{
"eval": "window.utag && typeof utag.gdpr === 'object'"
}
],
"detectPopup": [
{
"visible": "#__tealiumGDPRecModal"
}
],
"optOut": [
{
"hide": [
"#__tealiumGDPRecModal",
"#__tealiumGDPRcpPrefs",
"#consent-layer"
]
},
{
"click": "#cm-acceptNone,.js-accept-essential-cookies"
}
],
"optIn": [
{
"hide": [
"#__tealiumGDPRecModal"
]
},
{
"eval": "utag.gdpr.setConsentValue(true)"
}
],
"test": [
{
"eval": "utag.gdpr.getConsentState() !== 1"
}
]
},
{
"name": "Test page CMP",
"prehideSelectors": [
"#reject-all"
],
"detectCmp": [
{
"exists": "#privacy-test-page-cmp-test"
}
],
"detectPopup": [
{
"visible": "#privacy-test-page-cmp-test"
}
],
"optIn": [
{
"click": "#accept-all"
}
],
"optOut": [
{
"waitFor": "#reject-all"
},
{
"click": "#reject-all"
}
],
"test": [
{
"eval": "window.results.results[0] === 'button_clicked'"
}
]
}
],
"consentomatic": {
"didomi.io": {
"detectors": [
{
"presentMatcher": {
"target": {
"selector": "#didomi-host, #didomi-notice"
},
"type": "css"
},
"showingMatcher": {
"target": {
"selector": "body.didomi-popup-open, .didomi-notice-banner"
},
"type": "css"
}
}
],
"methods": [
{
"action": {
"target": {
"selector": ".didomi-popup-notice-buttons .didomi-button:not(.didomi-button-highlight), .didomi-notice-banner .didomi-learn-more-button"
},
"type": "click"
},
"name": "OPEN_OPTIONS"
},
{
"action": {
"actions": [
{
"retries": 50,
"target": {
"selector": "#didomi-purpose-cookies"
},
"type": "waitcss",
"waitTime": 50
},
{
"consents": [
{
"description": "Share (everything) with others",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-share_whith_others]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-share_whith_others]:last-child"
},
"type": "click"
},
"type": "X"
},
{
"description": "Information storage and access",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-cookies]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-cookies]:last-child"
},
"type": "click"
},
"type": "D"
},
{
"description": "Content selection, offers and marketing",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-CL-T1Rgm7]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-CL-T1Rgm7]:last-child"
},
"type": "click"
},
"type": "E"
},
{
"description": "Analytics",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-analytics]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-analytics]:last-child"
},
"type": "click"
},
"type": "B"
},
{
"description": "Analytics",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-M9NRHJe3G]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-M9NRHJe3G]:last-child"
},
"type": "click"
},
"type": "B"
},
{
"description": "Ad and content selection",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-advertising_personalization]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-advertising_personalization]:last-child"
},
"type": "click"
},
"type": "F"
},
{
"description": "Ad and content selection",
"falseAction": {
"parent": {
"childFilter": {
"target": {
"selector": "#didomi-purpose-pub-ciblee"
}
},
"selector": ".didomi-consent-popup-data-processing, .didomi-components-accordion-label-container"
},
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-pub-ciblee]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-pub-ciblee]:last-child"
},
"type": "click"
},
"type": "F"
},
{
"description": "Ad and content selection - basics",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-q4zlJqdcD]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-q4zlJqdcD]:last-child"
},
"type": "click"
},
"type": "F"
},
{
"description": "Ad and content selection - partners and subsidiaries",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-partenaire-cAsDe8jC]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-partenaire-cAsDe8jC]:last-child"
},
"type": "click"
},
"type": "F"
},
{
"description": "Ad and content selection - social networks",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-p4em9a8m]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-p4em9a8m]:last-child"
},
"type": "click"
},
"type": "F"
},
{
"description": "Ad and content selection - others",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-autres-pub]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-autres-pub]:last-child"
},
"type": "click"
},
"type": "F"
},
{
"description": "Social networks",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-reseauxsociaux]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-reseauxsociaux]:last-child"
},
"type": "click"
},
"type": "A"
},
{
"description": "Social networks",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-social_media]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-social_media]:last-child"
},
"type": "click"
},
"type": "A"
},
{
"description": "Content selection",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-content_personalization]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-content_personalization]:last-child"
},
"type": "click"
},
"type": "E"
},
{
"description": "Ad delivery",
"falseAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-ad_delivery]:first-child"
},
"type": "click"
},
"trueAction": {
"target": {
"selector": ".didomi-components-radio__option[aria-describedby=didomi-purpose-ad_delivery]:last-child"
},
"type": "click"
},
"type": "F"
}
],
"type": "consent"
},
{
"action": {
"consents": [
{
"matcher": {
"childFilter": {
"target": {
"selector": ":not(.didomi-components-radio__option--selected)"
}
},
"type": "css"
},
"trueAction": {
"target": {
"selector": ":nth-child(2)"
},
"type": "click"
},
"falseAction": {
"target": {
"selector": ":first-child"
},
"type": "click"
},
"type": "X"
}
],
"type": "consent"
},
"target": {
"selector": ".didomi-components-radio"
},
"type": "foreach"
}
],
"type": "list"
},
"name": "DO_CONSENT"
},
{
"action": {
"parent": {
"selector": ".didomi-consent-popup-footer .didomi-consent-popup-actions"
},
"target": {
"selector": ".didomi-components-button:first-child"
},
"type": "click"
},
"name": "SAVE_CONSENT"
}
]
},
"oil": {
"detectors": [
{
"presentMatcher": {
"target": {
"selector": ".as-oil-content-overlay"
},
"type": "css"
},
"showingMatcher": {
"target": {
"selector": ".as-oil-content-overlay"
},
"type": "css"
}
}
],
"methods": [
{
"action": {
"actions": [
{
"target": {
"selector": ".as-js-advanced-settings"
},
"type": "click"
},
{
"retries": "10",
"target": {
"selector": ".as-oil-cpc__purpose-container"
},
"type": "waitcss",
"waitTime": "250"
}
],
"type": "list"
},
"name": "OPEN_OPTIONS"
},
{
"action": {
"actions": [
{
"consents": [
{
"matcher": {
"parent": {
"selector": ".as-oil-cpc__purpose-container",
"textFilter": [
"Information storage and access",
"Opbevaring af og adgang til oplysninger på din enhed"
]
},
"target": {
"selector": "input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": ".as-oil-cpc__purpose-container",
"textFilter": [
"Information storage and access",
"Opbevaring af og adgang til oplysninger på din enhed"
]
},
"target": {
"selector": ".as-oil-cpc__switch"
},
"type": "click"
},
"type": "D"
},
{
"matcher": {
"parent": {
"selector": ".as-oil-cpc__purpose-container",
"textFilter": [
"Personlige annoncer",
"Personalisation"
]
},
"target": {
"selector": "input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": ".as-oil-cpc__purpose-container",
"textFilter": [
"Personlige annoncer",
"Personalisation"
]
},
"target": {
"selector": ".as-oil-cpc__switch"
},
"type": "click"
},
"type": "E"
},
{
"matcher": {
"parent": {
"selector": ".as-oil-cpc__purpose-container",
"textFilter": [
"Annoncevalg, levering og rapportering",
"Ad selection, delivery, reporting"
]
},
"target": {
"selector": "input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": ".as-oil-cpc__purpose-container",
"textFilter": [
"Annoncevalg, levering og rapportering",
"Ad selection, delivery, reporting"
]
},
"target": {
"selector": ".as-oil-cpc__switch"
},
"type": "click"
},
"type": "F"
},
{
"matcher": {
"parent": {
"selector": ".as-oil-cpc__purpose-container",
"textFilter": [
"Personalisering af indhold",
"Content selection, delivery, reporting"
]
},
"target": {
"selector": "input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": ".as-oil-cpc__purpose-container",
"textFilter": [
"Personalisering af indhold",
"Content selection, delivery, reporting"
]
},
"target": {
"selector": ".as-oil-cpc__switch"
},
"type": "click"
},
"type": "E"
},
{
"matcher": {
"parent": {
"childFilter": {
"target": {
"selector": ".as-oil-cpc__purpose-header",
"textFilter": [
"Måling",
"Measurement"
]
}
},
"selector": ".as-oil-cpc__purpose-container"
},
"target": {
"selector": "input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"childFilter": {
"target": {
"selector": ".as-oil-cpc__purpose-header",
"textFilter": [
"Måling",
"Measurement"
]
}
},
"selector": ".as-oil-cpc__purpose-container"
},
"target": {
"selector": ".as-oil-cpc__switch"
},
"type": "click"
},
"type": "B"
},
{
"matcher": {
"parent": {
"selector": ".as-oil-cpc__purpose-container",
"textFilter": "Google"
},
"target": {
"selector": "input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": ".as-oil-cpc__purpose-container",
"textFilter": "Google"
},
"target": {
"selector": ".as-oil-cpc__switch"
},
"type": "click"
},
"type": "F"
}
],
"type": "consent"
}
],
"type": "list"
},
"name": "DO_CONSENT"
},
{
"action": {
"target": {
"selector": ".as-oil__btn-optin"
},
"type": "click"
},
"name": "SAVE_CONSENT"
},
{
"action": {
"target": {
"selector": "div.as-oil"
},
"type": "hide"
},
"name": "HIDE_CMP"
}
]
},
"optanon": {
"detectors": [
{
"presentMatcher": {
"target": {
"selector": "#optanon-menu, .optanon-alert-box-wrapper"
},
"type": "css"
},
"showingMatcher": {
"target": {
"displayFilter": true,
"selector": ".optanon-alert-box-wrapper"
},
"type": "css"
}
}
],
"methods": [
{
"action": {
"actions": [
{
"target": {
"selector": ".optanon-alert-box-wrapper .optanon-toggle-display, a[onclick*='OneTrust.ToggleInfoDisplay()'], a[onclick*='Optanon.ToggleInfoDisplay()']"
},
"type": "click"
}
],
"type": "list"
},
"name": "OPEN_OPTIONS"
},
{
"action": {
"actions": [
{
"target": {
"selector": ".preference-menu-item #Your-privacy"
},
"type": "click"
},
{
"target": {
"selector": "#optanon-vendor-consent-text"
},
"type": "click"
},
{
"action": {
"consents": [
{
"matcher": {
"target": {
"selector": "input"
},
"type": "checkbox"
},
"toggleAction": {
"target": {
"selector": "label"
},
"type": "click"
},
"type": "X"
}
],
"type": "consent"
},
"target": {
"selector": "#optanon-vendor-consent-list .vendor-item"
},
"type": "foreach"
},
{
"target": {
"selector": ".vendor-consent-back-link"
},
"type": "click"
},
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-performance"
},
"trueAction": {
"actions": [
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-performance"
},
"type": "click"
},
{
"consents": [
{
"matcher": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status label"
},
"type": "click"
},
"type": "B"
}
],
"type": "consent"
}
],
"type": "list"
},
"type": "ifcss"
},
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-functional"
},
"trueAction": {
"actions": [
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-functional"
},
"type": "click"
},
{
"consents": [
{
"matcher": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status label"
},
"type": "click"
},
"type": "E"
}
],
"type": "consent"
}
],
"type": "list"
},
"type": "ifcss"
},
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-advertising"
},
"trueAction": {
"actions": [
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-advertising"
},
"type": "click"
},
{
"consents": [
{
"matcher": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status label"
},
"type": "click"
},
"type": "F"
}
],
"type": "consent"
}
],
"type": "list"
},
"type": "ifcss"
},
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-social"
},
"trueAction": {
"actions": [
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-social"
},
"type": "click"
},
{
"consents": [
{
"matcher": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status label"
},
"type": "click"
},
"type": "B"
}
],
"type": "consent"
}
],
"type": "list"
},
"type": "ifcss"
},
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-necessary",
"textFilter": "Social Media Cookies"
},
"trueAction": {
"actions": [
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-necessary",
"textFilter": "Social Media Cookies"
},
"type": "click"
},
{
"consents": [
{
"matcher": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status label"
},
"type": "click"
},
"type": "B"
}
],
"type": "consent"
}
],
"type": "list"
},
"type": "ifcss"
},
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-necessary",
"textFilter": "Personalisation"
},
"trueAction": {
"actions": [
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-necessary",
"textFilter": "Personalisation"
},
"type": "click"
},
{
"consents": [
{
"matcher": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status label"
},
"type": "click"
},
"type": "E"
}
],
"type": "consent"
}
],
"type": "list"
},
"type": "ifcss"
},
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-necessary",
"textFilter": "Site monitoring cookies"
},
"trueAction": {
"actions": [
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-necessary",
"textFilter": "Site monitoring cookies"
},
"type": "click"
},
{
"consents": [
{
"matcher": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status label"
},
"type": "click"
},
"type": "B"
}
],
"type": "consent"
}
],
"type": "list"
},
"type": "ifcss"
},
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-necessary",
"textFilter": "Third party privacy-enhanced content"
},
"trueAction": {
"actions": [
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {
"selector": ".menu-item-necessary",
"textFilter": "Third party privacy-enhanced content"
},
"type": "click"
},
{
"consents": [
{
"matcher": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status input"
},
"type": "checkbox"
},
"toggleAction": {
"parent": {
"selector": "#optanon-popup-body-right"
},
"target": {
"selector": ".optanon-status label"
},
"type": "click"
},
"type": "X"
}
],
"type": "consent"
}
],
"type": "list"
},
"type": "ifcss"
},
{
"parent": {
"selector": "#optanon-menu, .optanon-menu"
},
"target": {