-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move remaining eval rules to snippets
- Loading branch information
Showing
55 changed files
with
1,867 additions
and
918 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,31 @@ | ||
{ | ||
"name": "192.com", | ||
"detectCmp": [{ "exists": ".ont-cookies"}], | ||
"detectPopup": [{ "visible": ".ont-cookies" }], | ||
"optIn": [{ "click": ".ont-btn-main.ont-cookies-btn.js-ont-btn-ok2" }], | ||
"optOut": [ | ||
{ | ||
"click": ".ont-cookes-btn-manage" | ||
}, | ||
{ | ||
"click": ".ont-btn-main.ont-cookies-btn.js-ont-btn-choose" | ||
} | ||
], | ||
"test": [ | ||
{"eval": "document.cookie.includes('CC_ADVERTISING=NO') && document.cookie.includes('CC_ANALYTICS=NO')"} | ||
] | ||
} | ||
"name": "192.com", | ||
"detectCmp": [ | ||
{ | ||
"exists": ".ont-cookies" | ||
} | ||
], | ||
"detectPopup": [ | ||
{ | ||
"visible": ".ont-cookies" | ||
} | ||
], | ||
"optIn": [ | ||
{ | ||
"click": ".ont-btn-main.ont-cookies-btn.js-ont-btn-ok2" | ||
} | ||
], | ||
"optOut": [ | ||
{ | ||
"click": ".ont-cookes-btn-manage" | ||
}, | ||
{ | ||
"click": ".ont-btn-main.ont-cookies-btn.js-ont-btn-choose" | ||
} | ||
], | ||
"test": [ | ||
{ | ||
"eval": "192_0" | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,31 @@ | ||
{ | ||
"name": "Adroll", | ||
"prehideSelectors": ["#adroll_consent_container"], | ||
"detectCmp": [{ "exists": "#adroll_consent_container" }], | ||
"detectPopup": [{ "visible": "#adroll_consent_container" }], | ||
"optIn": [ { "waitForThenClick": "#adroll_consent_accept" } ], | ||
"optOut": [ { "waitForThenClick": "#adroll_consent_reject" } ], | ||
"test": [ | ||
{ "eval": "!document.cookie.includes('__adroll_fpc')" } | ||
] | ||
"name": "Adroll", | ||
"prehideSelectors": [ | ||
"#adroll_consent_container" | ||
], | ||
"detectCmp": [ | ||
{ | ||
"exists": "#adroll_consent_container" | ||
} | ||
], | ||
"detectPopup": [ | ||
{ | ||
"visible": "#adroll_consent_container" | ||
} | ||
], | ||
"optIn": [ | ||
{ | ||
"waitForThenClick": "#adroll_consent_accept" | ||
} | ||
], | ||
"optOut": [ | ||
{ | ||
"waitForThenClick": "#adroll_consent_reject" | ||
} | ||
], | ||
"test": [ | ||
{ | ||
"eval": "ADROLL_0" | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,41 @@ | ||
{ | ||
"name": "affinity.serif.com", | ||
"detectCmp": [ | ||
{ | ||
"exists": ".c-cookie-banner button[data-qa='allow-all-cookies']" | ||
} | ||
], | ||
"detectPopup": [ | ||
{ "visible": ".c-cookie-banner" } | ||
], | ||
"optIn": [ | ||
{ "click": "button[data-qa=\"allow-all-cookies\"]" } | ||
], | ||
"optOut": [ | ||
{ | ||
"click": "button[data-qa=\"manage-cookies\"]" | ||
}, | ||
{ | ||
"waitFor": ".c-cookie-banner ~ [role=\"dialog\"]" | ||
}, | ||
{ | ||
"waitForThenClick": ".c-cookie-banner ~ [role=\"dialog\"] input[type=\"checkbox\"][value=\"true\"]", | ||
"all": true | ||
}, | ||
{ | ||
"click": ".c-cookie-banner ~ [role=\"dialog\"] .c-modal__action button" | ||
} | ||
], | ||
"test": [ | ||
{ | ||
"wait": 500 | ||
}, | ||
{ | ||
"eval": "document.cookie.includes('serif_manage_cookies_viewed') && !document.cookie.includes('serif_allow_analytics')" | ||
} | ||
] | ||
} | ||
"name": "affinity.serif.com", | ||
"detectCmp": [ | ||
{ | ||
"exists": ".c-cookie-banner button[data-qa='allow-all-cookies']" | ||
} | ||
], | ||
"detectPopup": [ | ||
{ | ||
"visible": ".c-cookie-banner" | ||
} | ||
], | ||
"optIn": [ | ||
{ | ||
"click": "button[data-qa=\"allow-all-cookies\"]" | ||
} | ||
], | ||
"optOut": [ | ||
{ | ||
"click": "button[data-qa=\"manage-cookies\"]" | ||
}, | ||
{ | ||
"waitFor": ".c-cookie-banner ~ [role=\"dialog\"]" | ||
}, | ||
{ | ||
"waitForThenClick": ".c-cookie-banner ~ [role=\"dialog\"] input[type=\"checkbox\"][value=\"true\"]", | ||
"all": true | ||
}, | ||
{ | ||
"click": ".c-cookie-banner ~ [role=\"dialog\"] .c-modal__action button" | ||
} | ||
], | ||
"test": [ | ||
{ | ||
"wait": 500 | ||
}, | ||
{ | ||
"eval": "AFFINITY_SERIF_COM_0" | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,37 @@ | ||
{ | ||
"name": "axeptio", | ||
"prehideSelectors": [".axeptio_widget"], | ||
"detectCmp": | ||
[ | ||
{ | ||
"exists": ".axeptio_widget" | ||
"prehideSelectors": [ | ||
".axeptio_widget" | ||
], | ||
"detectCmp": [ | ||
{ | ||
"exists": ".axeptio_widget" | ||
} | ||
], | ||
"detectPopup": | ||
[ | ||
{ | ||
"visible": ".axeptio_widget" | ||
"detectPopup": [ | ||
{ | ||
"visible": ".axeptio_widget" | ||
} | ||
], | ||
"optIn": | ||
[ | ||
"optIn": [ | ||
{ | ||
"waitFor": ".axeptio-widget--open" | ||
"waitFor": ".axeptio-widget--open" | ||
}, | ||
{ | ||
"click": "button#axeptio_btn_acceptAll" | ||
} | ||
], | ||
"optOut": | ||
[ | ||
|
||
"optOut": [ | ||
{ | ||
"waitFor": ".axeptio-widget--open" | ||
"waitFor": ".axeptio-widget--open" | ||
}, | ||
{ | ||
"click": "button#axeptio_btn_dismiss" | ||
} | ||
], | ||
"test": | ||
[ | ||
"test": [ | ||
{ | ||
"eval": "document.cookie.includes('axeptio_authorized_vendors=%2C%2C')" | ||
"eval": "AXEPTIO_0" | ||
} | ||
] | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,34 @@ | ||
{ | ||
"name": "bing.com", | ||
"prehideSelectors": ["#bnp_container"], | ||
"detectCmp": [{ "exists": "#bnp_cookie_banner"}], | ||
"detectPopup": [{ "visible": "#bnp_cookie_banner" }], | ||
"optIn": [{ "click": "#bnp_btn_accept" }], | ||
"optOut": [ | ||
{ "click": "#bnp_btn_preference"}, | ||
{ "click": "#mcp_savesettings"} | ||
], | ||
"test": [ | ||
{ "eval": "document.cookie.includes('AL=0') && document.cookie.includes('AD=0') && document.cookie.includes('SM=0')"} | ||
] | ||
} | ||
"name": "bing.com", | ||
"prehideSelectors": [ | ||
"#bnp_container" | ||
], | ||
"detectCmp": [ | ||
{ | ||
"exists": "#bnp_cookie_banner" | ||
} | ||
], | ||
"detectPopup": [ | ||
{ | ||
"visible": "#bnp_cookie_banner" | ||
} | ||
], | ||
"optIn": [ | ||
{ | ||
"click": "#bnp_btn_accept" | ||
} | ||
], | ||
"optOut": [ | ||
{ | ||
"click": "#bnp_btn_preference" | ||
}, | ||
{ | ||
"click": "#mcp_savesettings" | ||
} | ||
], | ||
"test": [ | ||
{ | ||
"eval": "BING_0" | ||
} | ||
] | ||
} |
Oops, something went wrong.