Skip to content

Commit

Permalink
Fix ucercentrics-api (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
muodov authored Jul 31, 2023
1 parent 13a5713 commit e07dee9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions rules/autoconsent/usercentrics-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"detectPopup": [
{
"eval": "typeof UC_UI === 'object'"
},
{
"exists": [
"#usercentrics-root",
"[data-testid=uc-container]"
]
}
],
"optIn": [
Expand Down
4 changes: 3 additions & 1 deletion tests/usercentrics-api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ import generateCMPTests from "../playwright/runner";

generateCMPTests('usercentrics-api', [
'https://hornbach.de',
'https://dm.de',
'https://dm.de', // unsafe-eval CSP
'https://usercentrics.com/',
'https://shopbetreiber-blog.de/',
'https://www.kia.com/us/en',
'https://www.sportscheck.com/filialen/dortmund/',
], {
skipRegions: ["US", "GB", "FR"]
}
Expand Down

0 comments on commit e07dee9

Please sign in to comment.