Skip to content
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

Merged
merged 7 commits into from
Mar 26, 2024

Conversation

@muodov muodov requested a review from sammacbeth March 15, 2024 15:05
@muodov muodov added minor Increment the minor version when merged release Create a release when this pr is merged labels Mar 15, 2024
"optOut": [
{
"if": { "exists": "#cookiescript_reject" },
"then": [{" click": "#cookiescript_reject" }],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"then": [{" click": "#cookiescript_reject" }],
"then": [{"click": "#cookiescript_reject" }],

Copy link
Collaborator

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.

Copy link
Member Author

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\"]"
Copy link
Collaborator

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.

@muodov muodov requested a review from sammacbeth March 26, 2024 08:32
@sammacbeth sammacbeth removed the release Create a release when this pr is merged label Mar 26, 2024
@sammacbeth sammacbeth merged commit 542d4f0 into main Mar 26, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants