@duckduckgo/autoconsent 10.8.0 → 10.9.0

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.
@@ -9,6 +9,7 @@ on:
9
9
 
10
10
  env:
11
11
  TAG: ${{ inputs.tag_name }}
12
+ RELEASE_NOTES: See release notes [here](https://github.com/duckduckgo/autoconsent/blob/${{ inputs.tag_name }}/CHANGELOG.md)
12
13
 
13
14
  jobs:
14
15
  # ------------------------------------------------------------------------------
@@ -56,7 +57,6 @@ jobs:
56
57
  asana-output: ${{ steps.create-asana-tasks.outputs.ASANA_OUTPUT }}
57
58
  env:
58
59
  RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
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
@@ -85,7 +85,6 @@ jobs:
85
85
  - get_release_info
86
86
  env:
87
87
  RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
88
- RELEASE_NOTES: ${{ needs.get_release_info.outputs.release-notes }}
89
88
  steps:
90
89
  # --- Setup ---
91
90
  - uses: actions/checkout@v3
@@ -105,7 +104,7 @@ jobs:
105
104
  - name: Update Android autoconsent reference
106
105
  run: |
107
106
  cd android
108
- npm install @duckduckgo/autoconsent~${{ env.TAG }}
107
+ npm install @duckduckgo/autoconsent@${{ env.TAG }}
109
108
  npm run rebuild-autoconsent
110
109
  cd ..
111
110
  - name: Create Android PR Body
@@ -148,7 +147,6 @@ jobs:
148
147
  - get_release_info
149
148
  env:
150
149
  RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
151
- RELEASE_NOTES: ${{ needs.get_release_info.outputs.release-notes }}
152
150
  steps:
153
151
  # --- Setup ---
154
152
  - uses: actions/checkout@v3
@@ -168,7 +166,7 @@ jobs:
168
166
  - name: Update iOS autoconsent reference
169
167
  run: |
170
168
  cd ios
171
- npm install @duckduckgo/autoconsent~${{ env.TAG }}
169
+ npm install @duckduckgo/autoconsent@${{ env.TAG }}
172
170
  npm run rebuild-autoconsent
173
171
  cd ..
174
172
  - name: Create iOS PR Body
@@ -210,7 +208,6 @@ jobs:
210
208
  - get_release_info
211
209
  env:
212
210
  RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
213
- RELEASE_NOTES: ${{ needs.get_release_info.outputs.release-notes }}
214
211
  steps:
215
212
  # --- Setup ---
216
213
  - uses: actions/checkout@v3
@@ -230,7 +227,7 @@ jobs:
230
227
  - name: Update macOS autoconsent reference
231
228
  run: |
232
229
  cd macos
233
- npm install @duckduckgo/autoconsent~${{ env.TAG }}
230
+ npm install @duckduckgo/autoconsent@${{ env.TAG }}
234
231
  npm run rebuild-autoconsent
235
232
  cd ..
236
233
  - name: Create macOS PR Body
@@ -272,7 +269,6 @@ jobs:
272
269
  - get_release_info
273
270
  env:
274
271
  RELEASE_URL: ${{ needs.get_release_info.outputs.release-url }}
275
- RELEASE_NOTES: ${{ needs.get_release_info.outputs.release-notes }}
276
272
  steps:
277
273
  # --- Setup ---
278
274
  - uses: actions/checkout@v3
@@ -292,7 +288,7 @@ jobs:
292
288
  - name: Update Windows autoconsent reference
293
289
  run: |
294
290
  cd windows/WindowsBrowser/Application/Autoconsent/External
295
- npm install @duckduckgo/autoconsent~${{ env.TAG }}
291
+ npm install @duckduckgo/autoconsent@${{ env.TAG }}
296
292
  npm run rebuild-autoconsent
297
293
  cd ../../../../../
298
294
  - name: Create Windows PR Body
package/CHANGELOG.md CHANGED
@@ -1,3 +1,34 @@
1
+ # v10.9.0 (Tue May 28 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Roblox [#448](https://github.com/duckduckgo/autoconsent/pull/448) ([@muodov](https://github.com/muodov))
6
+ - Fix the Ketch rule [#447](https://github.com/duckduckgo/autoconsent/pull/447) ([@muodov](https://github.com/muodov))
7
+ - Make Fides rule more robust [#442](https://github.com/duckduckgo/autoconsent/pull/442) ([@muodov](https://github.com/muodov))
8
+ - Add support for cookieCuttr CMP [#440](https://github.com/duckduckgo/autoconsent/pull/440) ([@muodov](https://github.com/muodov))
9
+ - Add travelonbags.com [#438](https://github.com/duckduckgo/autoconsent/pull/438) ([@seia-soto](https://github.com/seia-soto) [@muodov](https://github.com/muodov))
10
+
11
+ #### 🐛 Bug Fix
12
+
13
+ - Fix overlay in complianz-optout [#450](https://github.com/duckduckgo/autoconsent/pull/450) ([@muodov](https://github.com/muodov))
14
+ - Fix overlay on https://sports.tipico.de/de [#451](https://github.com/duckduckgo/autoconsent/pull/451) ([@muodov](https://github.com/muodov))
15
+ - upgrade dependencies [#439](https://github.com/duckduckgo/autoconsent/pull/439) ([@muodov](https://github.com/muodov))
16
+
17
+ #### ⚠️ Pushed to `main`
18
+
19
+ - Update DDG PR template ([@muodov](https://github.com/muodov))
20
+ - Refer to the changelog instead of copying github release notes ([@muodov](https://github.com/muodov))
21
+ - Fix ddg release ([@muodov](https://github.com/muodov))
22
+ - Fix Asana API usage ([@muodov](https://github.com/muodov))
23
+ - Update readme.md ([@muodov](https://github.com/muodov))
24
+
25
+ #### Authors: 2
26
+
27
+ - HoJeong Go ([@seia-soto](https://github.com/seia-soto))
28
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
29
+
30
+ ---
31
+
1
32
  # v10.8.0 (Tue May 14 2024)
2
33
 
3
34
  #### 🚀 Enhancement
@@ -15,7 +15,7 @@ const releaseNotes = md.render(releaseNotesRaw)
15
15
  const templateTaskGid = '1206774921409831'
16
16
  const autoconsentProjectGid = '1201844467387842'
17
17
  const releaseSectionGid = '1202253736774466'
18
- const projectExtractorRegex = /\[\[project_gids=(.+)]]\s/
18
+ const projectExtractorRegex = /\[\[project_gids=(.*)]]/
19
19
 
20
20
  /**
21
21
  * @typedef {{taskGid: string, taskUrl: string, displayName: string}} platformData
@@ -143,7 +143,7 @@ const asanaCreateTasks = async () => {
143
143
  if (extractedProjects) {
144
144
  for (const projectGidAndSection of extractedProjects.split(',')) {
145
145
  const [projectGid, sectionGid] = projectGidAndSection.split(':')
146
- await asana.tasks.addProjectForTask(gid, { project: projectGid, insert_after: null, section: sectionGid })
146
+ await asana.tasks.addProjectForTask(gid, { project: projectGid, section: sectionGid })
147
147
  }
148
148
  }
149
149
  }
@@ -10,3 +10,6 @@ Updates Autoconsent to version [[[version]]]([[autoconsent_release_url]]).
10
10
 
11
11
  ## Steps to test
12
12
  This release has been tested during Autoconsent development. You can check the release notes for more information.
13
+ 1. Make sure that there's no unexpected failures in CI checks
14
+ 2. (optional) smoke test some of the sites mentioned in the release notes
15
+ 3. If there are problems, reach out to a CPM DRI
@@ -92,6 +92,7 @@
92
92
  EVAL_EU_COOKIE_LAW_0: () => !document.cookie.includes("euCookie"),
93
93
  EVAL_EZOIC_0: () => ezCMP.handleAcceptAllClick(),
94
94
  EVAL_EZOIC_1: () => !!document.cookie.match(/ez-consent-tcf/),
95
+ EVAL_FIDES_DETECT_POPUP: () => window.Fides?.initialized,
95
96
  EVAL_GOOGLE_0: () => !!document.cookie.match(/SOCS=CAE/),
96
97
  EVAL_HEMA_TEST_0: () => document.cookie.includes("cookies_rejected=1"),
97
98
  EVAL_IUBENDA_0: () => document.querySelectorAll(".purposes-item input[type=checkbox]:not([disabled])").forEach((x) => {
@@ -101,6 +102,7 @@
101
102
  EVAL_IUBENDA_1: () => !!document.cookie.match(/_iub_cs-\d+=/),
102
103
  EVAL_IWINK_TEST: () => document.cookie.includes("cookie_permission_granted=no"),
103
104
  EVAL_JQUERY_COOKIEBAR_0: () => !document.cookie.includes("cookies-state=accepted"),
105
+ EVAL_KETCH_TEST: () => document.cookie.includes("_ketch_consent_v1_"),
104
106
  EVAL_MEDIAVINE_0: () => document.querySelectorAll('[data-name="mediavine-gdpr-cmp"] input[type=checkbox]').forEach((x) => x.checked && x.click()) || true,
105
107
  EVAL_MICROSOFT_0: () => Array.from(document.querySelectorAll("div > button")).filter((el) => el.innerText.match("Reject|Ablehnen"))[0].click() || true,
106
108
  EVAL_MICROSOFT_1: () => Array.from(document.querySelectorAll("div > button")).filter((el) => el.innerText.match("Accept|Annehmen"))[0].click() || true,
@@ -115,6 +117,7 @@
115
117
  EVAL_PRIMEBOX_0: () => !document.cookie.includes("cb-enabled=accepted"),
116
118
  EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
117
119
  EVAL_REDDIT_0: () => document.cookie.includes("eu_cookie={%22opted%22:true%2C%22nonessential%22:false}"),
120
+ EVAL_ROBLOX_TEST: () => document.cookie.includes("RBXcb"),
118
121
  EVAL_SIRDATA_UNBLOCK_SCROLL: () => {
119
122
  document.documentElement.classList.forEach((cls) => {
120
123
  if (cls.startsWith("sd-cmp-"))
@@ -539,6 +539,7 @@
539
539
  EVAL_EU_COOKIE_LAW_0: () => !document.cookie.includes("euCookie"),
540
540
  EVAL_EZOIC_0: () => ezCMP.handleAcceptAllClick(),
541
541
  EVAL_EZOIC_1: () => !!document.cookie.match(/ez-consent-tcf/),
542
+ EVAL_FIDES_DETECT_POPUP: () => window.Fides?.initialized,
542
543
  EVAL_GOOGLE_0: () => !!document.cookie.match(/SOCS=CAE/),
543
544
  EVAL_HEMA_TEST_0: () => document.cookie.includes("cookies_rejected=1"),
544
545
  EVAL_IUBENDA_0: () => document.querySelectorAll(".purposes-item input[type=checkbox]:not([disabled])").forEach((x) => {
@@ -548,6 +549,7 @@
548
549
  EVAL_IUBENDA_1: () => !!document.cookie.match(/_iub_cs-\d+=/),
549
550
  EVAL_IWINK_TEST: () => document.cookie.includes("cookie_permission_granted=no"),
550
551
  EVAL_JQUERY_COOKIEBAR_0: () => !document.cookie.includes("cookies-state=accepted"),
552
+ EVAL_KETCH_TEST: () => document.cookie.includes("_ketch_consent_v1_"),
551
553
  EVAL_MEDIAVINE_0: () => document.querySelectorAll('[data-name="mediavine-gdpr-cmp"] input[type=checkbox]').forEach((x) => x.checked && x.click()) || true,
552
554
  EVAL_MICROSOFT_0: () => Array.from(document.querySelectorAll("div > button")).filter((el) => el.innerText.match("Reject|Ablehnen"))[0].click() || true,
553
555
  EVAL_MICROSOFT_1: () => Array.from(document.querySelectorAll("div > button")).filter((el) => el.innerText.match("Accept|Annehmen"))[0].click() || true,
@@ -562,6 +564,7 @@
562
564
  EVAL_PRIMEBOX_0: () => !document.cookie.includes("cb-enabled=accepted"),
563
565
  EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
564
566
  EVAL_REDDIT_0: () => document.cookie.includes("eu_cookie={%22opted%22:true%2C%22nonessential%22:false}"),
567
+ EVAL_ROBLOX_TEST: () => document.cookie.includes("RBXcb"),
565
568
  EVAL_SIRDATA_UNBLOCK_SCROLL: () => {
566
569
  document.documentElement.classList.forEach((cls) => {
567
570
  if (cls.startsWith("sd-cmp-"))
@@ -1434,10 +1437,11 @@
1434
1437
  if (this.click("#_evidon-decline-button")) {
1435
1438
  return true;
1436
1439
  }
1437
- hideElements(getStyleElement(), "#evidon-prefdiag-overlay,#evidon-prefdiag-background");
1438
- this.click("#_evidon-option-button");
1440
+ hideElements(getStyleElement(), "#evidon-prefdiag-overlay,#evidon-prefdiag-background,#_evidon-background");
1441
+ await this.waitForThenClick("#_evidon-option-button");
1439
1442
  await this.waitForElement("#evidon-prefdiag-overlay", 5e3);
1440
- this.click("#evidon-prefdiag-decline");
1443
+ await this.wait(500);
1444
+ await this.waitForThenClick("#evidon-prefdiag-decline");
1441
1445
  return true;
1442
1446
  }
1443
1447
  async optIn() {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 2,
3
3
  "name": "Autoconsent",
4
- "version": "2024.5.2",
4
+ "version": "2024.5.14",
5
5
  "background": {
6
6
  "scripts": [
7
7
  "background.bundle.js"
@@ -374,7 +374,6 @@
374
374
  },
375
375
  {
376
376
  "name": "aquasana.com",
377
- "cosmetic": true,
378
377
  "prehideSelectors": [
379
378
  "#consent-tracking"
380
379
  ],
@@ -390,12 +389,24 @@
390
389
  ],
391
390
  "optIn": [
392
391
  {
393
- "click": "#accept_consent"
392
+ "waitForThenClick": "#consent-tracking .affirm.btn"
394
393
  }
395
394
  ],
396
395
  "optOut": [
397
396
  {
398
- "hide": "#consent-tracking"
397
+ "if": {
398
+ "exists": "#consent-tracking .decline.btn"
399
+ },
400
+ "then": [
401
+ {
402
+ "click": "#consent-tracking .decline.btn"
403
+ }
404
+ ],
405
+ "else": [
406
+ {
407
+ "hide": "#consent-tracking"
408
+ }
409
+ ]
399
410
  }
400
411
  ]
401
412
  },
@@ -1571,7 +1582,20 @@
1571
1582
  ],
1572
1583
  "else": [
1573
1584
  {
1574
- "hide": "[aria-describedby=\"cookieconsent:desc\"]"
1585
+ "if": {
1586
+ "exists": ".cmp-pref-link"
1587
+ },
1588
+ "then": [
1589
+ {
1590
+ "click": ".cmp-pref-link"
1591
+ },
1592
+ {
1593
+ "waitForThenClick": ".cmp-body [id*=rejectAll]"
1594
+ },
1595
+ {
1596
+ "waitForThenClick": ".cmp-body .cmp-save-btn"
1597
+ }
1598
+ ]
1575
1599
  }
1576
1600
  ]
1577
1601
  }
@@ -1965,6 +1989,51 @@
1965
1989
  }
1966
1990
  ]
1967
1991
  },
1992
+ {
1993
+ "name": "cookiecuttr",
1994
+ "vendorUrl": "https://github.com/cdwharton/cookieCuttr",
1995
+ "cosmetic": false,
1996
+ "runContext": {
1997
+ "main": true,
1998
+ "frame": false,
1999
+ "urlPattern": ""
2000
+ },
2001
+ "prehideSelectors": [
2002
+ ".cc-cookies"
2003
+ ],
2004
+ "detectCmp": [
2005
+ {
2006
+ "exists": ".cc-cookies .cc-cookie-accept"
2007
+ }
2008
+ ],
2009
+ "detectPopup": [
2010
+ {
2011
+ "visible": ".cc-cookies .cc-cookie-accept"
2012
+ }
2013
+ ],
2014
+ "optIn": [
2015
+ {
2016
+ "waitForThenClick": ".cc-cookies .cc-cookie-accept"
2017
+ }
2018
+ ],
2019
+ "optOut": [
2020
+ {
2021
+ "if": {
2022
+ "exists": ".cc-cookies .cc-cookie-decline"
2023
+ },
2024
+ "then": [
2025
+ {
2026
+ "click": ".cc-cookies .cc-cookie-decline"
2027
+ }
2028
+ ],
2029
+ "else": [
2030
+ {
2031
+ "hide": ".cc-cookies"
2032
+ }
2033
+ ]
2034
+ }
2035
+ ]
2036
+ },
1968
2037
  {
1969
2038
  "name": "cookiefirst.com",
1970
2039
  "prehideSelectors": [
@@ -2884,16 +2953,19 @@
2884
2953
  "detectPopup": [
2885
2954
  {
2886
2955
  "visible": "#fides-overlay #fides-banner"
2956
+ },
2957
+ {
2958
+ "eval": "EVAL_FIDES_DETECT_POPUP"
2887
2959
  }
2888
2960
  ],
2889
2961
  "optIn": [
2890
2962
  {
2891
- "waitForThenClick": "#fides-banner [data-testid=\"Accept all-btn\"]"
2963
+ "waitForThenClick": "#fides-banner .fides-accept-all-button"
2892
2964
  }
2893
2965
  ],
2894
2966
  "optOut": [
2895
2967
  {
2896
- "waitForThenClick": "#fides-banner [data-testid=\"Reject all-btn\"]"
2968
+ "waitForThenClick": "#fides-banner .fides-reject-all-button"
2897
2969
  }
2898
2970
  ]
2899
2971
  },
@@ -3738,29 +3810,34 @@
3738
3810
  },
3739
3811
  "then": [
3740
3812
  {
3741
- "waitForThenClick": "#lanyard_root div[class*=buttons] > button[class*=secondaryButton]",
3813
+ "waitForThenClick": "#lanyard_root div[class*=buttons] > button[class*=secondaryButton], #lanyard_root button[class*=buttons-secondary]",
3742
3814
  "comment": "can be either settings or reject button"
3743
3815
  }
3744
3816
  ]
3745
3817
  },
3746
3818
  {
3747
- "waitFor": "#lanyard_root [aria-describedby=preference-description],#lanyard_root [aria-describedby=modal-description]",
3819
+ "waitFor": "#lanyard_root [aria-describedby=preference-description],#lanyard_root [aria-describedby=modal-description], #ketch-preferences",
3748
3820
  "timeout": 1000,
3749
3821
  "optional": true
3750
3822
  },
3751
3823
  {
3752
3824
  "if": {
3753
- "exists": "#lanyard_root [aria-describedby=preference-description],#lanyard_root [aria-describedby=modal-description]"
3825
+ "exists": "#lanyard_root [aria-describedby=preference-description],#lanyard_root [aria-describedby=modal-description], #ketch-preferences"
3754
3826
  },
3755
3827
  "then": [
3756
3828
  {
3757
- "waitForThenClick": "#lanyard_root button[class*=rejectButton]"
3829
+ "waitForThenClick": "#lanyard_root button[class*=rejectButton], #lanyard_root button[class*=rejectAllButton]"
3758
3830
  },
3759
3831
  {
3760
- "click": "#lanyard_root button[class*=confirmButton],#lanyard_root div[class*=actions_] > button:nth-child(1)"
3832
+ "click": "#lanyard_root button[class*=confirmButton],#lanyard_root div[class*=actions_] > button:nth-child(1), #lanyard_root button[class*=actionButton]"
3761
3833
  }
3762
3834
  ]
3763
3835
  }
3836
+ ],
3837
+ "test": [
3838
+ {
3839
+ "eval": "EVAL_KETCH_TEST"
3840
+ }
3764
3841
  ]
3765
3842
  },
3766
3843
  {
@@ -5162,6 +5239,42 @@
5162
5239
  }
5163
5240
  ]
5164
5241
  },
5242
+ {
5243
+ "name": "roblox",
5244
+ "vendorUrl": "https://roblox.com",
5245
+ "cosmetic": false,
5246
+ "runContext": {
5247
+ "main": true,
5248
+ "frame": false,
5249
+ "urlPattern": "^https://(www\\.)?roblox\\.com/"
5250
+ },
5251
+ "prehideSelectors": [],
5252
+ "detectCmp": [
5253
+ {
5254
+ "exists": ".cookie-banner-wrapper"
5255
+ }
5256
+ ],
5257
+ "detectPopup": [
5258
+ {
5259
+ "visible": ".cookie-banner-wrapper .cookie-banner"
5260
+ }
5261
+ ],
5262
+ "optIn": [
5263
+ {
5264
+ "waitForThenClick": ".cookie-banner-wrapper button.btn-cta-lg"
5265
+ }
5266
+ ],
5267
+ "optOut": [
5268
+ {
5269
+ "waitForThenClick": ".cookie-banner-wrapper button.btn-secondary-lg"
5270
+ }
5271
+ ],
5272
+ "test": [
5273
+ {
5274
+ "eval": "EVAL_ROBLOX_TEST"
5275
+ }
5276
+ ]
5277
+ },
5165
5278
  {
5166
5279
  "name": "rog-forum.asus.com",
5167
5280
  "runContext": {
@@ -6583,27 +6696,32 @@
6583
6696
  },
6584
6697
  {
6585
6698
  "name": "uswitch.com",
6699
+ "runContext": {
6700
+ "main": true,
6701
+ "frame": false,
6702
+ "urlPattern": "^https://(www\\.)?uswitch\\.com/"
6703
+ },
6586
6704
  "prehideSelectors": [
6587
- "#cookie-banner-wrapper"
6705
+ ".ucb"
6588
6706
  ],
6589
6707
  "detectCmp": [
6590
6708
  {
6591
- "exists": "#cookie-banner-wrapper"
6709
+ "exists": ".ucb-banner"
6592
6710
  }
6593
6711
  ],
6594
6712
  "detectPopup": [
6595
6713
  {
6596
- "visible": "#cookie-banner-wrapper"
6714
+ "visible": ".ucb-banner"
6597
6715
  }
6598
6716
  ],
6599
6717
  "optIn": [
6600
6718
  {
6601
- "click": "#cookie_banner_accept_mobile"
6719
+ "waitForThenClick": ".ucb-banner .ucb-btn-accept"
6602
6720
  }
6603
6721
  ],
6604
6722
  "optOut": [
6605
6723
  {
6606
- "click": "#cookie_banner_save"
6724
+ "waitForThenClick": ".ucb-banner .ucb-btn-save"
6607
6725
  }
6608
6726
  ]
6609
6727
  },
@@ -92,6 +92,7 @@
92
92
  EVAL_EU_COOKIE_LAW_0: () => !document.cookie.includes("euCookie"),
93
93
  EVAL_EZOIC_0: () => ezCMP.handleAcceptAllClick(),
94
94
  EVAL_EZOIC_1: () => !!document.cookie.match(/ez-consent-tcf/),
95
+ EVAL_FIDES_DETECT_POPUP: () => window.Fides?.initialized,
95
96
  EVAL_GOOGLE_0: () => !!document.cookie.match(/SOCS=CAE/),
96
97
  EVAL_HEMA_TEST_0: () => document.cookie.includes("cookies_rejected=1"),
97
98
  EVAL_IUBENDA_0: () => document.querySelectorAll(".purposes-item input[type=checkbox]:not([disabled])").forEach((x) => {
@@ -101,6 +102,7 @@
101
102
  EVAL_IUBENDA_1: () => !!document.cookie.match(/_iub_cs-\d+=/),
102
103
  EVAL_IWINK_TEST: () => document.cookie.includes("cookie_permission_granted=no"),
103
104
  EVAL_JQUERY_COOKIEBAR_0: () => !document.cookie.includes("cookies-state=accepted"),
105
+ EVAL_KETCH_TEST: () => document.cookie.includes("_ketch_consent_v1_"),
104
106
  EVAL_MEDIAVINE_0: () => document.querySelectorAll('[data-name="mediavine-gdpr-cmp"] input[type=checkbox]').forEach((x) => x.checked && x.click()) || true,
105
107
  EVAL_MICROSOFT_0: () => Array.from(document.querySelectorAll("div > button")).filter((el) => el.innerText.match("Reject|Ablehnen"))[0].click() || true,
106
108
  EVAL_MICROSOFT_1: () => Array.from(document.querySelectorAll("div > button")).filter((el) => el.innerText.match("Accept|Annehmen"))[0].click() || true,
@@ -115,6 +117,7 @@
115
117
  EVAL_PRIMEBOX_0: () => !document.cookie.includes("cb-enabled=accepted"),
116
118
  EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
117
119
  EVAL_REDDIT_0: () => document.cookie.includes("eu_cookie={%22opted%22:true%2C%22nonessential%22:false}"),
120
+ EVAL_ROBLOX_TEST: () => document.cookie.includes("RBXcb"),
118
121
  EVAL_SIRDATA_UNBLOCK_SCROLL: () => {
119
122
  document.documentElement.classList.forEach((cls) => {
120
123
  if (cls.startsWith("sd-cmp-"))
@@ -539,6 +539,7 @@
539
539
  EVAL_EU_COOKIE_LAW_0: () => !document.cookie.includes("euCookie"),
540
540
  EVAL_EZOIC_0: () => ezCMP.handleAcceptAllClick(),
541
541
  EVAL_EZOIC_1: () => !!document.cookie.match(/ez-consent-tcf/),
542
+ EVAL_FIDES_DETECT_POPUP: () => window.Fides?.initialized,
542
543
  EVAL_GOOGLE_0: () => !!document.cookie.match(/SOCS=CAE/),
543
544
  EVAL_HEMA_TEST_0: () => document.cookie.includes("cookies_rejected=1"),
544
545
  EVAL_IUBENDA_0: () => document.querySelectorAll(".purposes-item input[type=checkbox]:not([disabled])").forEach((x) => {
@@ -548,6 +549,7 @@
548
549
  EVAL_IUBENDA_1: () => !!document.cookie.match(/_iub_cs-\d+=/),
549
550
  EVAL_IWINK_TEST: () => document.cookie.includes("cookie_permission_granted=no"),
550
551
  EVAL_JQUERY_COOKIEBAR_0: () => !document.cookie.includes("cookies-state=accepted"),
552
+ EVAL_KETCH_TEST: () => document.cookie.includes("_ketch_consent_v1_"),
551
553
  EVAL_MEDIAVINE_0: () => document.querySelectorAll('[data-name="mediavine-gdpr-cmp"] input[type=checkbox]').forEach((x) => x.checked && x.click()) || true,
552
554
  EVAL_MICROSOFT_0: () => Array.from(document.querySelectorAll("div > button")).filter((el) => el.innerText.match("Reject|Ablehnen"))[0].click() || true,
553
555
  EVAL_MICROSOFT_1: () => Array.from(document.querySelectorAll("div > button")).filter((el) => el.innerText.match("Accept|Annehmen"))[0].click() || true,
@@ -562,6 +564,7 @@
562
564
  EVAL_PRIMEBOX_0: () => !document.cookie.includes("cb-enabled=accepted"),
563
565
  EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
564
566
  EVAL_REDDIT_0: () => document.cookie.includes("eu_cookie={%22opted%22:true%2C%22nonessential%22:false}"),
567
+ EVAL_ROBLOX_TEST: () => document.cookie.includes("RBXcb"),
565
568
  EVAL_SIRDATA_UNBLOCK_SCROLL: () => {
566
569
  document.documentElement.classList.forEach((cls) => {
567
570
  if (cls.startsWith("sd-cmp-"))
@@ -1434,10 +1437,11 @@
1434
1437
  if (this.click("#_evidon-decline-button")) {
1435
1438
  return true;
1436
1439
  }
1437
- hideElements(getStyleElement(), "#evidon-prefdiag-overlay,#evidon-prefdiag-background");
1438
- this.click("#_evidon-option-button");
1440
+ hideElements(getStyleElement(), "#evidon-prefdiag-overlay,#evidon-prefdiag-background,#_evidon-background");
1441
+ await this.waitForThenClick("#_evidon-option-button");
1439
1442
  await this.waitForElement("#evidon-prefdiag-overlay", 5e3);
1440
- this.click("#evidon-prefdiag-decline");
1443
+ await this.wait(500);
1444
+ await this.waitForThenClick("#evidon-prefdiag-decline");
1441
1445
  return true;
1442
1446
  }
1443
1447
  async optIn() {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "Autoconsent",
4
- "version": "2024.5.2",
4
+ "version": "2024.5.14",
5
5
  "background": {
6
6
  "service_worker": "background.bundle.js"
7
7
  },