@duckduckgo/autoconsent 16.12.0 → 16.14.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.
- package/.node-version +1 -0
- package/CHANGELOG.md +35 -0
- package/Jenkinsfile +11 -6
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +32 -8
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rule-index.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +32 -8
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +32 -8
- package/dist/autoconsent.esm.js +32 -8
- package/dist/autoconsent.playwright.js +32 -8
- package/dist/autoconsent.standalone.js +33 -9
- package/dist/types/heuristic-patterns.d.ts +2 -1
- package/dist/types/heuristics.d.ts +1 -0
- package/lib/heuristic-patterns.ts +21 -4
- package/lib/heuristics.ts +17 -5
- package/package.json +1 -1
- package/rules/autoconsent/interia.json +15 -0
- package/rules/autoconsent/unive-nl.json +40 -0
- package/rules/autoconsent/xhamster-eu.json +8 -5
- package/rules/autoconsent/xnxx-com.json +24 -4
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/interia.spec.ts +3 -0
- package/tests/unive-nl.spec.ts +3 -0
- package/tests/xhamster-eu.spec.ts +3 -1
- package/tests-wtr/heuristics/get-actionable-popups.html +10 -0
- package/tests-wtr/heuristics/get-actionable-popups.ts +8 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +38 -0
package/.node-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
20.12.1
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
|
1
|
+
# v16.14.0 (Thu Jul 23 2026)
|
|
2
|
+
|
|
3
|
+
#### Rules
|
|
4
|
+
|
|
5
|
+
- Fix xhamster EU cookie modal rule [#1446](https://github.com/duckduckgo/autoconsent/pull/1446) ([@cursoragent](https://github.com/cursoragent) [@cursor[bot]](https://github.com/cursor[bot]))
|
|
6
|
+
- Handle xnxx disclaimer cookie modal [#1444](https://github.com/duckduckgo/autoconsent/pull/1444) ([@cursoragent](https://github.com/cursoragent) [@cursor[bot]](https://github.com/cursor[bot]))
|
|
7
|
+
- Add Interia autoconsent rule [#1445](https://github.com/duckduckgo/autoconsent/pull/1445) ([@cursoragent](https://github.com/cursoragent) [@cursor[bot]](https://github.com/cursor[bot]))
|
|
8
|
+
|
|
9
|
+
#### CI / Release Automation
|
|
10
|
+
|
|
11
|
+
- Migrate Jenkinsfile to Ubuntu 24.04 (Noble) node; introduce .node-version [#1448](https://github.com/duckduckgo/autoconsent/pull/1448) ([@pkoraca](https://github.com/pkoraca))
|
|
12
|
+
|
|
13
|
+
#### Authors: 3
|
|
14
|
+
|
|
15
|
+
- [@cursor[bot]](https://github.com/cursor[bot])
|
|
16
|
+
- Cursor Agent ([@cursoragent](https://github.com/cursoragent))
|
|
17
|
+
- Petar Koraca ([@pkoraca](https://github.com/pkoraca))
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# v16.13.0 (Wed Jul 22 2026)
|
|
22
|
+
|
|
23
|
+
#### Rules
|
|
24
|
+
|
|
25
|
+
- Skip age-verification popups in heuristic CMP detection (doublelist.com fix) [#1432](https://github.com/duckduckgo/autoconsent/pull/1432) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov) [@cursor[bot]](https://github.com/cursor[bot]))
|
|
26
|
+
- Add unive.nl cookie banner rule [#1438](https://github.com/duckduckgo/autoconsent/pull/1438) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov) [@cursor[bot]](https://github.com/cursor[bot]))
|
|
27
|
+
|
|
28
|
+
#### Authors: 3
|
|
29
|
+
|
|
30
|
+
- [@cursor[bot]](https://github.com/cursor[bot])
|
|
31
|
+
- Cursor Agent ([@cursoragent](https://github.com/cursoragent))
|
|
32
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
1
36
|
# v16.12.0 (Sat Jul 18 2026)
|
|
2
37
|
|
|
3
38
|
#### Rules
|
package/Jenkinsfile
CHANGED
|
@@ -44,17 +44,12 @@ def getTestsToRun(modifiedFiles) {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
pipeline {
|
|
47
|
-
agent { label 'autoconsent-crawler' }
|
|
47
|
+
agent { label 'autoconsent-crawler-noble' }
|
|
48
48
|
parameters {
|
|
49
49
|
string(name: 'TEST_RESULT_ROOT', defaultValue: '/mnt/efs/users/smacbeth/autoconsent/ci', description: 'Where test results and configuration are stored')
|
|
50
50
|
choice(name: 'BROWSER', choices: ['chrome', 'webkit', 'iphoneSE', 'firefox'], description: 'Browser')
|
|
51
51
|
string(name: 'BRANCH', defaultValue: 'main', description: 'Branch or PR to checkout (e.g. pr/123)')
|
|
52
52
|
}
|
|
53
|
-
environment {
|
|
54
|
-
NODENV_VERSION = "20.12.1"
|
|
55
|
-
NODENV_ROOT = "/opt/nodeenv"
|
|
56
|
-
PATH = "/opt/nodenv/shims:/opt/nodenv/bin:$PATH"
|
|
57
|
-
}
|
|
58
53
|
stages {
|
|
59
54
|
stage('Checkout') {
|
|
60
55
|
when {
|
|
@@ -70,6 +65,16 @@ pipeline {
|
|
|
70
65
|
}
|
|
71
66
|
}
|
|
72
67
|
|
|
68
|
+
stage('Prepare Node') {
|
|
69
|
+
steps {
|
|
70
|
+
sh "fnm install"
|
|
71
|
+
script {
|
|
72
|
+
def nodeBin = sh(returnStdout: true, script: "fnm exec -- node -e 'console.log(require(\"path\").dirname(process.execPath))'").trim()
|
|
73
|
+
env.PATH = "${nodeBin}:${env.PATH}"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
73
78
|
stage('Build') {
|
|
74
79
|
steps {
|
|
75
80
|
sh '''
|