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 Klaro rule (wogibtswas.de, www.suedtirol.com) #404

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Conversation

sammacbeth
Copy link
Collaborator

The Klaro rule was failing to open the popup on the following sites:

This changes the rule to use the klaro JS API to open the popup. This seems more robust for the different ways of embedding this.

@sammacbeth sammacbeth requested a review from muodov March 22, 2024 12:41
@sammacbeth sammacbeth added the patch Increment the patch version when merged label Mar 26, 2024
this.settingsOpen = true;
}
// open popup via Javascript API
await this.mainWorldEval("EVAL_KLARO_2")
Copy link
Member

Choose a reason for hiding this comment

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

  • should we change optIn() too and remove settingsOpen?
  • if API is available, does it allow to reject cookies without clicking at all?

@muodov muodov added the release Create a release when this pr is merged label Mar 26, 2024
@muodov muodov self-requested a review April 12, 2024 14:04
@muodov muodov changed the title Fix Klaro rule Fix Klaro rule (wogibtswas.de, www.suedtirol.com) Apr 12, 2024
@muodov muodov merged commit f18176b into main Apr 12, 2024
9 of 10 checks passed
@muodov muodov deleted the sam/klaro-fix branch April 12, 2024 14:05
aitorvs pushed a commit to duckduckgo/Android that referenced this pull request Apr 25, 2024
Task/Issue URL:
https://app.asana.com/0/1207065820015495/1207065820015495
Autoconsent Release:
https://github.com/duckduckgo/autoconsent/releases/tag/v10.6.1


## Description
Updates Autoconsent to version
[v10.6.1](https://github.com/duckduckgo/autoconsent/releases/tag/v10.6.1).

### Autoconsent v10.6.1 release notes
#### 🐛 Bug Fix

- Fix Klaro rule (wogibtswas.de, www.suedtirol.com)
[#404](duckduckgo/autoconsent#404)
([@sammacbeth](https://github.com/sammacbeth))

#### Authors: 1

- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))

## Steps to test
This release has been tested during Autoconsent development. You can
check the release notes for more information.

Co-authored-by: muodov <muodov@users.noreply.github.com>
Co-authored-by: Maxim Tsoy <maks.tsoy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants