-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rules from Jan 10 Ghostery fixes (#341)
* Add a rule for canyon.com refs ghostery/broken-page-reports#277 * Add a rule for transip.nl This website requires us to be redirect to opt-out. Successful test wasn't generated. * Add a rule for rog-forum.asus.com * Add a rule for hetzner.com * Add a rule for strato.de * Remove cosmetic flags
- Loading branch information
Showing
9 changed files
with
132 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "canyon.com", | ||
"runContext": { | ||
"urlPattern": "^https://www\\.canyon\\.com/" | ||
}, | ||
"prehideSelectors": ["div.modal.cookiesModal.is-open"], | ||
"detectCmp": [{ "exists": "div.modal.cookiesModal.is-open" }], | ||
"detectPopup": [{ "visible": "div.modal.cookiesModal.is-open" }], | ||
"optIn": [{ "click": "div.cookiesModal__buttonWrapper > button[data-closecause=\"close-by-submit\"]" }], | ||
"optOut": [ | ||
{ | ||
"click": "div.cookiesModal__buttonWrapper > button[data-closecause=\"close-by-manage-cookies\"]" | ||
}, | ||
{ | ||
"waitForThenClick": "button#js-manage-data-privacy-save-button" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "hetzner.com", | ||
"runContext": { | ||
"urlPattern": "^https://www\\.hetzner\\.com/" | ||
}, | ||
"prehideSelectors": ["#CookieConsent"], | ||
"detectCmp": [{ "exists": "#CookieConsent" }], | ||
"detectPopup": [{ "visible": "#CookieConsent" }], | ||
"optIn": [{ "click": "#CookieConsentGiven" }], | ||
"optOut": [{ "click": "#CookieConsentDeclined" }] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "rog-forum.asus.com", | ||
"runContext": { | ||
"urlPattern": "^https://rog-forum\\.asus\\.com/" | ||
}, | ||
"prehideSelectors": ["#cookie-policy-info"], | ||
"detectCmp": [{ "exists": "#cookie-policy-info" }], | ||
"detectPopup": [{ "visible": "#cookie-policy-info" }], | ||
"optIn": [{ "click": "div.cookie-btn-box > div[aria-label=\"Accept\"]" }], | ||
"optOut": [ | ||
{ "click": "div.cookie-btn-box > div[aria-label=\"Reject\"]" }, | ||
{ "waitForThenClick": ".cookie-policy-lightbox-bottom > div[aria-label=\"Save Settings\"]" } | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "strato.de", | ||
"prehideSelectors": ["#cookie_initial_modal", ".modal-backdrop"], | ||
"runContext": { | ||
"urlPattern": "^https://www\\.strato\\.de/" | ||
}, | ||
"detectCmp": [{ "exists": "#cookie_initial_modal" }], | ||
"detectPopup": [{ "visible": "#cookie_initial_modal" }], | ||
"optIn": [{ | ||
"click": "button#jss_consent_all_initial_modal" | ||
}], | ||
"optOut": [ | ||
{ | ||
"click": "button#jss_open_settings_modal" | ||
}, | ||
{ | ||
"click": "button#jss_consent_checked" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"name": "transip-nl", | ||
"runContext": { | ||
"urlPattern": "^https://www\\.transip\\.nl/" | ||
}, | ||
"prehideSelectors": ["#consent-modal"], | ||
"detectCmp": [{ | ||
"any": [ | ||
{ | ||
"exists": "#consent-modal" | ||
}, | ||
{ | ||
"exists": "#privacy-settings-content" | ||
} | ||
] | ||
}], | ||
"detectPopup": [{ | ||
"any": [ | ||
{ | ||
"visible": "#consent-modal" | ||
}, | ||
{ | ||
"visible": "#privacy-settings-content" | ||
} | ||
] | ||
}], | ||
"optIn": [ | ||
{ | ||
"click": "button[type=\"submit\"]" | ||
} | ||
], | ||
"optOut": [ | ||
{ | ||
"if": { | ||
"exists": "#privacy-settings-content" | ||
}, | ||
"then": [ | ||
{ | ||
"click": "button[type=\"submit\"]" | ||
} | ||
], | ||
"else": [ | ||
{ | ||
"click": "div.one-modal__action-footer-column--secondary > a" | ||
} | ||
] | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import generateCMPTests from "../playwright/runner"; | ||
|
||
generateCMPTests('canyon.com', [ | ||
'https://www.canyon.com/en-us/' | ||
], {}); |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import generateCMPTests from "../playwright/runner"; | ||
|
||
generateCMPTests('hetzner.com', [ | ||
'https://www.hetzner.com/news/12-22-cloud-usa', | ||
]); |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import generateCMPTests from "../playwright/runner"; | ||
|
||
generateCMPTests('rog-forum.asus.com', [ | ||
'https://rog-forum.asus.com/' | ||
], {}); |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import generateCMPTests from "../playwright/runner"; | ||
|
||
generateCMPTests('strato.de', [ | ||
'https://www.strato.de/apps/CustomerService', | ||
], {}); |