-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rules for tumblr.com, onlyfans, canva.com, cookie-script #395
Conversation
muodov
commented
Mar 15, 2024
- https://app.asana.com/0/1203268166580279/1206801782393473/f
- https://app.asana.com/0/1203268166580279/1206849682571983/f
- https://app.asana.com/0/1203268166580279/1206850828892928/f
- https://app.asana.com/0/1203268166580279/1206747922199698/f
rules/autoconsent/cookie-script.json
Outdated
"optOut": [ | ||
{ | ||
"if": { "exists": "#cookiescript_reject" }, | ||
"then": [{" click": "#cookiescript_reject" }], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"then": [{" click": "#cookiescript_reject" }], | |
"then": [{"click": "#cookiescript_reject" }], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also found a glitch on https://trauer.hna.de/, where the banner doesn't get properly hidden, probably because we're clicking it too fast. Adding a { "wait": 100 }
step fixed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Sam, good catches!
@@ -11,7 +11,8 @@ | |||
"click": "div.b-cookies-informer__nav > button:nth-child(1)" | |||
}, | |||
{ | |||
"click": "div.b-cookies-informer__switchers > div:nth-child(2) > div[at-attr=\"checkbox\"] > span.b-input-radio__container > input[type=\"checkbox\"]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a urlPattern
on this rule? In the coverage data it only runs on onlyfans.com.