@duckduckgo/autoconsent 10.6.1 → 10.6.3
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/.github/workflows/ddg-release.yml +5 -5
- package/CHANGELOG.md +28 -0
- package/ci/asana-create-tasks.js +3 -2
- package/dist/addon-firefox/background.bundle.js +0 -1
- package/dist/addon-firefox/content.bundle.js +0 -1
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +10 -38
- package/dist/addon-mv3/background.bundle.js +0 -1
- package/dist/addon-mv3/content.bundle.js +0 -1
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +10 -38
- 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 +10 -39
- 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/iubenda.json +3 -3
- package/rules/autoconsent/sibbo.json +6 -33
- package/rules/rules.json +10 -38
- package/tests/sibbo.spec.ts +0 -1
|
@@ -56,7 +56,7 @@ jobs:
|
|
|
56
56
|
asana-output: ${{ steps.create-asana-tasks.outputs.ASANA_OUTPUT }}
|
|
57
57
|
env:
|
|
58
58
|
RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
|
|
59
|
-
RELEASE_NOTES:
|
|
59
|
+
RELEASE_NOTES: See release notes [here](https://github.com/duckduckgo/autoconsent/blob/${{ inputs.tag_name }}/CHANGELOG.md)
|
|
60
60
|
steps:
|
|
61
61
|
# --- Setup ---
|
|
62
62
|
- uses: actions/checkout@v3
|
|
@@ -105,7 +105,7 @@ jobs:
|
|
|
105
105
|
- name: Update Android autoconsent reference
|
|
106
106
|
run: |
|
|
107
107
|
cd android
|
|
108
|
-
npm install @duckduckgo/autoconsent
|
|
108
|
+
npm install @duckduckgo/autoconsent~${{ env.TAG }}
|
|
109
109
|
npm run rebuild-autoconsent
|
|
110
110
|
cd ..
|
|
111
111
|
- name: Create Android PR Body
|
|
@@ -168,7 +168,7 @@ jobs:
|
|
|
168
168
|
- name: Update iOS autoconsent reference
|
|
169
169
|
run: |
|
|
170
170
|
cd ios
|
|
171
|
-
npm install @duckduckgo/autoconsent
|
|
171
|
+
npm install @duckduckgo/autoconsent~${{ env.TAG }}
|
|
172
172
|
npm run rebuild-autoconsent
|
|
173
173
|
cd ..
|
|
174
174
|
- name: Create iOS PR Body
|
|
@@ -230,7 +230,7 @@ jobs:
|
|
|
230
230
|
- name: Update macOS autoconsent reference
|
|
231
231
|
run: |
|
|
232
232
|
cd macos
|
|
233
|
-
npm install @duckduckgo/autoconsent
|
|
233
|
+
npm install @duckduckgo/autoconsent~${{ env.TAG }}
|
|
234
234
|
npm run rebuild-autoconsent
|
|
235
235
|
cd ..
|
|
236
236
|
- name: Create macOS PR Body
|
|
@@ -292,7 +292,7 @@ jobs:
|
|
|
292
292
|
- name: Update Windows autoconsent reference
|
|
293
293
|
run: |
|
|
294
294
|
cd windows/WindowsBrowser/Application/Autoconsent/External
|
|
295
|
-
npm install @duckduckgo/autoconsent
|
|
295
|
+
npm install @duckduckgo/autoconsent~${{ env.TAG }}
|
|
296
296
|
npm run rebuild-autoconsent
|
|
297
297
|
cd ../../../../../
|
|
298
298
|
- name: Create Windows PR Body
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# v10.6.3 (Fri Apr 26 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Fix race condition in iubenda, as seen on https://leaddev.com/leaddev-london [#428](https://github.com/duckduckgo/autoconsent/pull/428) ([@muodov](https://github.com/muodov))
|
|
6
|
+
- Tweak DDG release CI scripts [#426](https://github.com/duckduckgo/autoconsent/pull/426) ([@muodov](https://github.com/muodov))
|
|
7
|
+
|
|
8
|
+
#### Authors: 1
|
|
9
|
+
|
|
10
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v10.6.2 (Tue Apr 23 2024)
|
|
15
|
+
|
|
16
|
+
#### 🐛 Bug Fix
|
|
17
|
+
|
|
18
|
+
- Click 'Save & Exit' instead of 'Cancel' in dmgmedia popup [#425](https://github.com/duckduckgo/autoconsent/pull/425) ([@sammacbeth](https://github.com/sammacbeth))
|
|
19
|
+
- Fix sibbo rule [#423](https://github.com/duckduckgo/autoconsent/pull/423) ([@sammacbeth](https://github.com/sammacbeth))
|
|
20
|
+
- Update readme.md [#420](https://github.com/duckduckgo/autoconsent/pull/420) ([@hyebahi](https://github.com/hyebahi))
|
|
21
|
+
|
|
22
|
+
#### Authors: 2
|
|
23
|
+
|
|
24
|
+
- [@hyebahi](https://github.com/hyebahi)
|
|
25
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
1
29
|
# v10.6.1 (Fri Apr 12 2024)
|
|
2
30
|
|
|
3
31
|
#### 🐛 Bug Fix
|
package/ci/asana-create-tasks.js
CHANGED
|
@@ -141,8 +141,9 @@ const asanaCreateTasks = async () => {
|
|
|
141
141
|
await asana.tasks.updateTask(gid, { name: newName, html_notes: subtaskNotes })
|
|
142
142
|
|
|
143
143
|
if (extractedProjects) {
|
|
144
|
-
for (const
|
|
145
|
-
|
|
144
|
+
for (const projectGidAndSection of extractedProjects.split(',')) {
|
|
145
|
+
const [projectGid, sectionGid] = projectGidAndSection.split(':')
|
|
146
|
+
await asana.tasks.addProjectForTask(gid, { project: projectGid, insert_after: null, section: sectionGid })
|
|
146
147
|
}
|
|
147
148
|
}
|
|
148
149
|
}
|
|
@@ -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
|
},
|
|
@@ -3444,18 +3447,18 @@
|
|
|
3444
3447
|
],
|
|
3445
3448
|
"optIn": [
|
|
3446
3449
|
{
|
|
3447
|
-
"
|
|
3450
|
+
"waitForThenClick": ".iubenda-cs-accept-btn"
|
|
3448
3451
|
}
|
|
3449
3452
|
],
|
|
3450
3453
|
"optOut": [
|
|
3451
3454
|
{
|
|
3452
|
-
"
|
|
3455
|
+
"waitForThenClick": ".iubenda-cs-customize-btn"
|
|
3453
3456
|
},
|
|
3454
3457
|
{
|
|
3455
3458
|
"eval": "EVAL_IUBENDA_0"
|
|
3456
3459
|
},
|
|
3457
3460
|
{
|
|
3458
|
-
"
|
|
3461
|
+
"waitForThenClick": "#iubFooterBtn"
|
|
3459
3462
|
}
|
|
3460
3463
|
],
|
|
3461
3464
|
"test": [
|
|
@@ -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
|
},
|
|
@@ -3444,18 +3447,18 @@
|
|
|
3444
3447
|
],
|
|
3445
3448
|
"optIn": [
|
|
3446
3449
|
{
|
|
3447
|
-
"
|
|
3450
|
+
"waitForThenClick": ".iubenda-cs-accept-btn"
|
|
3448
3451
|
}
|
|
3449
3452
|
],
|
|
3450
3453
|
"optOut": [
|
|
3451
3454
|
{
|
|
3452
|
-
"
|
|
3455
|
+
"waitForThenClick": ".iubenda-cs-customize-btn"
|
|
3453
3456
|
},
|
|
3454
3457
|
{
|
|
3455
3458
|
"eval": "EVAL_IUBENDA_0"
|
|
3456
3459
|
},
|
|
3457
3460
|
{
|
|
3458
|
-
"
|
|
3461
|
+
"waitForThenClick": "#iubFooterBtn"
|
|
3459
3462
|
}
|
|
3460
3463
|
],
|
|
3461
3464
|
"test": [
|
|
@@ -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-"))
|