@duckduckgo/autoconsent 10.6.1 → 10.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/addon-firefox/background.bundle.js +0 -1
- package/dist/addon-firefox/content.bundle.js +0 -1
- package/dist/addon-firefox/rules.json +7 -35
- package/dist/addon-mv3/background.bundle.js +0 -1
- package/dist/addon-mv3/content.bundle.js +0 -1
- package/dist/addon-mv3/rules.json +7 -35
- package/dist/autoconsent.cjs.js +0 -1
- package/dist/autoconsent.esm.js +0 -1
- package/dist/autoconsent.playwright.js +1 -1
- package/dist/autoconsent.unit.js +7 -36
- package/lib/eval-snippets.ts +0 -1
- package/package.json +1 -1
- package/readme.md +2 -2
- package/rules/autoconsent/dmgmedia.json +5 -1
- package/rules/autoconsent/sibbo.json +6 -33
- package/rules/rules.json +7 -35
- package/tests/sibbo.spec.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# v10.6.2 (Tue Apr 23 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Click 'Save & Exit' instead of 'Cancel' in dmgmedia popup [#425](https://github.com/duckduckgo/autoconsent/pull/425) ([@sammacbeth](https://github.com/sammacbeth))
|
|
6
|
+
- Fix sibbo rule [#423](https://github.com/duckduckgo/autoconsent/pull/423) ([@sammacbeth](https://github.com/sammacbeth))
|
|
7
|
+
- Update readme.md [#420](https://github.com/duckduckgo/autoconsent/pull/420) ([@hyebahi](https://github.com/hyebahi))
|
|
8
|
+
|
|
9
|
+
#### Authors: 2
|
|
10
|
+
|
|
11
|
+
- [@hyebahi](https://github.com/hyebahi)
|
|
12
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
1
16
|
# v10.6.1 (Fri Apr 12 2024)
|
|
2
17
|
|
|
3
18
|
#### 🐛 Bug Fix
|
|
@@ -113,7 +113,6 @@
|
|
|
113
113
|
EVAL_PRIMEBOX_0: () => !document.cookie.includes("cb-enabled=accepted"),
|
|
114
114
|
EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
|
|
115
115
|
EVAL_REDDIT_0: () => document.cookie.includes("eu_cookie={%22opted%22:true%2C%22nonessential%22:false}"),
|
|
116
|
-
EVAL_SIBBO_0: () => !!window.localStorage.getItem("euconsent-v2"),
|
|
117
116
|
EVAL_SIRDATA_UNBLOCK_SCROLL: () => {
|
|
118
117
|
document.documentElement.classList.forEach((cls) => {
|
|
119
118
|
if (cls.startsWith("sd-cmp-"))
|
|
@@ -560,7 +560,6 @@
|
|
|
560
560
|
EVAL_PRIMEBOX_0: () => !document.cookie.includes("cb-enabled=accepted"),
|
|
561
561
|
EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
|
|
562
562
|
EVAL_REDDIT_0: () => document.cookie.includes("eu_cookie={%22opted%22:true%2C%22nonessential%22:false}"),
|
|
563
|
-
EVAL_SIBBO_0: () => !!window.localStorage.getItem("euconsent-v2"),
|
|
564
563
|
EVAL_SIRDATA_UNBLOCK_SCROLL: () => {
|
|
565
564
|
document.documentElement.classList.forEach((cls) => {
|
|
566
565
|
if (cls.startsWith("sd-cmp-"))
|
|
@@ -2391,7 +2391,10 @@
|
|
|
2391
2391
|
"all": true
|
|
2392
2392
|
},
|
|
2393
2393
|
{
|
|
2394
|
-
"waitForThenClick":
|
|
2394
|
+
"waitForThenClick": [
|
|
2395
|
+
"[data-project=\"mol-fe-cmp\"] [class*=footer]",
|
|
2396
|
+
"xpath///button[contains(., 'Save & Exit')]"
|
|
2397
|
+
]
|
|
2395
2398
|
}
|
|
2396
2399
|
]
|
|
2397
2400
|
},
|
|
@@ -5265,48 +5268,17 @@
|
|
|
5265
5268
|
],
|
|
5266
5269
|
"detectPopup": [
|
|
5267
5270
|
{
|
|
5268
|
-
"visible": "
|
|
5271
|
+
"visible": "#rejectAllMain"
|
|
5269
5272
|
}
|
|
5270
5273
|
],
|
|
5271
5274
|
"optIn": [
|
|
5272
5275
|
{
|
|
5273
|
-
"click": "
|
|
5276
|
+
"click": "#acceptAllMain"
|
|
5274
5277
|
}
|
|
5275
5278
|
],
|
|
5276
5279
|
"optOut": [
|
|
5277
5280
|
{
|
|
5278
|
-
"click": "
|
|
5279
|
-
},
|
|
5280
|
-
{
|
|
5281
|
-
"click": ".sibbo-panel__main__header__actions a[data-focusable=\"reject-all\"]"
|
|
5282
|
-
},
|
|
5283
|
-
{
|
|
5284
|
-
"if": {
|
|
5285
|
-
"exists": "[data-view=purposes] .sibbo-panel__main__footer__actions [data-save-and-exit]"
|
|
5286
|
-
},
|
|
5287
|
-
"then": [],
|
|
5288
|
-
"else": [
|
|
5289
|
-
{
|
|
5290
|
-
"waitFor": ".sibbo-panel__main__footer__actions a[data-focusable=\"next\"]:not(.sibbo-cmp-button--disabled)"
|
|
5291
|
-
},
|
|
5292
|
-
{
|
|
5293
|
-
"click": ".sibbo-panel__main__footer__actions a[data-focusable=\"next\"]"
|
|
5294
|
-
},
|
|
5295
|
-
{
|
|
5296
|
-
"click": ".sibbo-panel__main div[data-view=\"purposesLegInt\"] a[data-focusable=\"reject-all\"]"
|
|
5297
|
-
}
|
|
5298
|
-
]
|
|
5299
|
-
},
|
|
5300
|
-
{
|
|
5301
|
-
"waitFor": ".sibbo-panel__main__footer__actions [data-save-and-exit]:not(.sibbo-cmp-button--disabled)"
|
|
5302
|
-
},
|
|
5303
|
-
{
|
|
5304
|
-
"click": ".sibbo-panel__main__footer__actions [data-save-and-exit]:not(.sibbo-cmp-button--disabled)"
|
|
5305
|
-
}
|
|
5306
|
-
],
|
|
5307
|
-
"test": [
|
|
5308
|
-
{
|
|
5309
|
-
"eval": "EVAL_SIBBO_0"
|
|
5281
|
+
"click": "#rejectAllMain"
|
|
5310
5282
|
}
|
|
5311
5283
|
]
|
|
5312
5284
|
},
|
|
@@ -113,7 +113,6 @@
|
|
|
113
113
|
EVAL_PRIMEBOX_0: () => !document.cookie.includes("cb-enabled=accepted"),
|
|
114
114
|
EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
|
|
115
115
|
EVAL_REDDIT_0: () => document.cookie.includes("eu_cookie={%22opted%22:true%2C%22nonessential%22:false}"),
|
|
116
|
-
EVAL_SIBBO_0: () => !!window.localStorage.getItem("euconsent-v2"),
|
|
117
116
|
EVAL_SIRDATA_UNBLOCK_SCROLL: () => {
|
|
118
117
|
document.documentElement.classList.forEach((cls) => {
|
|
119
118
|
if (cls.startsWith("sd-cmp-"))
|
|
@@ -560,7 +560,6 @@
|
|
|
560
560
|
EVAL_PRIMEBOX_0: () => !document.cookie.includes("cb-enabled=accepted"),
|
|
561
561
|
EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
|
|
562
562
|
EVAL_REDDIT_0: () => document.cookie.includes("eu_cookie={%22opted%22:true%2C%22nonessential%22:false}"),
|
|
563
|
-
EVAL_SIBBO_0: () => !!window.localStorage.getItem("euconsent-v2"),
|
|
564
563
|
EVAL_SIRDATA_UNBLOCK_SCROLL: () => {
|
|
565
564
|
document.documentElement.classList.forEach((cls) => {
|
|
566
565
|
if (cls.startsWith("sd-cmp-"))
|
|
@@ -2391,7 +2391,10 @@
|
|
|
2391
2391
|
"all": true
|
|
2392
2392
|
},
|
|
2393
2393
|
{
|
|
2394
|
-
"waitForThenClick":
|
|
2394
|
+
"waitForThenClick": [
|
|
2395
|
+
"[data-project=\"mol-fe-cmp\"] [class*=footer]",
|
|
2396
|
+
"xpath///button[contains(., 'Save & Exit')]"
|
|
2397
|
+
]
|
|
2395
2398
|
}
|
|
2396
2399
|
]
|
|
2397
2400
|
},
|
|
@@ -5265,48 +5268,17 @@
|
|
|
5265
5268
|
],
|
|
5266
5269
|
"detectPopup": [
|
|
5267
5270
|
{
|
|
5268
|
-
"visible": "
|
|
5271
|
+
"visible": "#rejectAllMain"
|
|
5269
5272
|
}
|
|
5270
5273
|
],
|
|
5271
5274
|
"optIn": [
|
|
5272
5275
|
{
|
|
5273
|
-
"click": "
|
|
5276
|
+
"click": "#acceptAllMain"
|
|
5274
5277
|
}
|
|
5275
5278
|
],
|
|
5276
5279
|
"optOut": [
|
|
5277
5280
|
{
|
|
5278
|
-
"click": "
|
|
5279
|
-
},
|
|
5280
|
-
{
|
|
5281
|
-
"click": ".sibbo-panel__main__header__actions a[data-focusable=\"reject-all\"]"
|
|
5282
|
-
},
|
|
5283
|
-
{
|
|
5284
|
-
"if": {
|
|
5285
|
-
"exists": "[data-view=purposes] .sibbo-panel__main__footer__actions [data-save-and-exit]"
|
|
5286
|
-
},
|
|
5287
|
-
"then": [],
|
|
5288
|
-
"else": [
|
|
5289
|
-
{
|
|
5290
|
-
"waitFor": ".sibbo-panel__main__footer__actions a[data-focusable=\"next\"]:not(.sibbo-cmp-button--disabled)"
|
|
5291
|
-
},
|
|
5292
|
-
{
|
|
5293
|
-
"click": ".sibbo-panel__main__footer__actions a[data-focusable=\"next\"]"
|
|
5294
|
-
},
|
|
5295
|
-
{
|
|
5296
|
-
"click": ".sibbo-panel__main div[data-view=\"purposesLegInt\"] a[data-focusable=\"reject-all\"]"
|
|
5297
|
-
}
|
|
5298
|
-
]
|
|
5299
|
-
},
|
|
5300
|
-
{
|
|
5301
|
-
"waitFor": ".sibbo-panel__main__footer__actions [data-save-and-exit]:not(.sibbo-cmp-button--disabled)"
|
|
5302
|
-
},
|
|
5303
|
-
{
|
|
5304
|
-
"click": ".sibbo-panel__main__footer__actions [data-save-and-exit]:not(.sibbo-cmp-button--disabled)"
|
|
5305
|
-
}
|
|
5306
|
-
],
|
|
5307
|
-
"test": [
|
|
5308
|
-
{
|
|
5309
|
-
"eval": "EVAL_SIBBO_0"
|
|
5281
|
+
"click": "#rejectAllMain"
|
|
5310
5282
|
}
|
|
5311
5283
|
]
|
|
5312
5284
|
},
|
package/dist/autoconsent.cjs.js
CHANGED
|
@@ -583,7 +583,6 @@ var snippets = {
|
|
|
583
583
|
EVAL_PRIMEBOX_0: () => !document.cookie.includes("cb-enabled=accepted"),
|
|
584
584
|
EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
|
|
585
585
|
EVAL_REDDIT_0: () => document.cookie.includes("eu_cookie={%22opted%22:true%2C%22nonessential%22:false}"),
|
|
586
|
-
EVAL_SIBBO_0: () => !!window.localStorage.getItem("euconsent-v2"),
|
|
587
586
|
EVAL_SIRDATA_UNBLOCK_SCROLL: () => {
|
|
588
587
|
document.documentElement.classList.forEach((cls) => {
|
|
589
588
|
if (cls.startsWith("sd-cmp-"))
|
package/dist/autoconsent.esm.js
CHANGED
|
@@ -558,7 +558,6 @@ var snippets = {
|
|
|
558
558
|
EVAL_PRIMEBOX_0: () => !document.cookie.includes("cb-enabled=accepted"),
|
|
559
559
|
EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
|
|
560
560
|
EVAL_REDDIT_0: () => document.cookie.includes("eu_cookie={%22opted%22:true%2C%22nonessential%22:false}"),
|
|
561
|
-
EVAL_SIBBO_0: () => !!window.localStorage.getItem("euconsent-v2"),
|
|
562
561
|
EVAL_SIRDATA_UNBLOCK_SCROLL: () => {
|
|
563
562
|
document.documentElement.classList.forEach((cls) => {
|
|
564
563
|
if (cls.startsWith("sd-cmp-"))
|