@duckduckgo/autoconsent 16.42.0 → 16.43.1
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/.claude/user-settings.json.TEMPLATE +22 -0
- package/CHANGELOG.md +28 -0
- package/ci/asana-update-tasks.js +1 -1
- package/dist/addon-firefox/background.bundle.js +18 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +19 -1
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +18 -0
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +19 -1
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +19 -1
- package/dist/autoconsent.esm.js +19 -1
- package/dist/autoconsent.playwright.js +19 -1
- package/dist/autoconsent.standalone.js +20 -2
- package/dist/types/eval-snippets.d.ts +1 -0
- package/lib/dom-actions.ts +1 -1
- package/lib/eval-snippets.ts +20 -0
- package/package.json +2 -3
- package/readme.md +10 -0
- package/rules/autoconsent/sourcepoint-top.json +3 -2
- package/rules/compact-rules.json +1 -1
- package/rules/rules.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"REGIONAL_PROXY_AU": "socks5://au-proxy.example.com:1080",
|
|
4
|
+
"REGIONAL_PROXY_CA": "socks5://ca-proxy.example.com:1080",
|
|
5
|
+
"REGIONAL_PROXY_CH": "socks5://ch-proxy.example.com:1080",
|
|
6
|
+
"REGIONAL_PROXY_DE": "socks5://de-proxy.example.com:1080",
|
|
7
|
+
"REGIONAL_PROXY_DK": "socks5://dk-proxy.example.com:1080",
|
|
8
|
+
"REGIONAL_PROXY_ES": "socks5://es-proxy.example.com:1080",
|
|
9
|
+
"REGIONAL_PROXY_FR": "socks5://fr-proxy.example.com:1080",
|
|
10
|
+
"REGIONAL_PROXY_GB": "socks5://gb-proxy.example.com:1080",
|
|
11
|
+
"REGIONAL_PROXY_IT": "socks5://it-proxy.example.com:1080",
|
|
12
|
+
"REGIONAL_PROXY_JP": "socks5://jp-proxy.example.com:1080",
|
|
13
|
+
"REGIONAL_PROXY_NL": "socks5://nl-proxy.example.com:1080",
|
|
14
|
+
"REGIONAL_PROXY_NO": "socks5://no-proxy.example.com:1080",
|
|
15
|
+
"REGIONAL_PROXY_PL": "socks5://pl-proxy.example.com:1080",
|
|
16
|
+
"REGIONAL_PROXY_SE": "socks5://se-proxy.example.com:1080",
|
|
17
|
+
"REGIONAL_PROXY_US": "socks5://us-proxy.example.com:1080",
|
|
18
|
+
"REGIONAL_PROXY_USERNAME": "OPTIONAL_PROXY_USERNAME",
|
|
19
|
+
"REGIONAL_PROXY_PASSWORD": "OPTIONAL_PROXY_PASSWORD",
|
|
20
|
+
"PUBLICWWW_KEY": "REPLACE_WITH_YOUR_KEY"
|
|
21
|
+
}
|
|
22
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# v16.43.1 (Wed Sep 30 2026)
|
|
2
|
+
|
|
3
|
+
#### Dependencies
|
|
4
|
+
|
|
5
|
+
- Upgrade @duckduckgo/eslint-config to v0.3.0 (ESLint 10) [#1581](https://github.com/duckduckgo/autoconsent/pull/1581) ([@muodov](https://github.com/muodov))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v16.43.0 (Tue Sep 29 2026)
|
|
14
|
+
|
|
15
|
+
#### Rules
|
|
16
|
+
|
|
17
|
+
- Fix Sourcepoint scroll position restoration on back navigation [#1578](https://github.com/duckduckgo/autoconsent/pull/1578) ([@muodov](https://github.com/muodov))
|
|
18
|
+
|
|
19
|
+
#### AI / Agent Workflow
|
|
20
|
+
|
|
21
|
+
- Add Claude Code user settings template for agent skill env vars [#1579](https://github.com/duckduckgo/autoconsent/pull/1579) ([@muodov](https://github.com/muodov))
|
|
22
|
+
|
|
23
|
+
#### Authors: 1
|
|
24
|
+
|
|
25
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
1
29
|
# v16.42.0 (Fri Sep 25 2026)
|
|
2
30
|
|
|
3
31
|
#### Rules
|
package/ci/asana-update-tasks.js
CHANGED
|
@@ -25,7 +25,7 @@ const asanaUpdateTasks = async () => {
|
|
|
25
25
|
try {
|
|
26
26
|
asanaOutput = JSON.parse(asanaOutputRaw || '');
|
|
27
27
|
} catch (e) {
|
|
28
|
-
throw new Error('Unable to parse Asana output JSON');
|
|
28
|
+
throw new Error('Unable to parse Asana output JSON', { cause: e });
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
setupAsana();
|
|
@@ -157,6 +157,24 @@
|
|
|
157
157
|
});
|
|
158
158
|
return true;
|
|
159
159
|
},
|
|
160
|
+
EVAL_SOURCEPOINT_RESTORE_SCROLL: () => {
|
|
161
|
+
const root = document.documentElement;
|
|
162
|
+
const saved = root.dataset.previousScrollY;
|
|
163
|
+
if (saved && saved !== "null") {
|
|
164
|
+
root.dataset.previousScrollY = "null";
|
|
165
|
+
const y = -parseInt(saved, 10);
|
|
166
|
+
if (y > 0 && window.scrollY === 0) {
|
|
167
|
+
const behavior = root.style.scrollBehavior;
|
|
168
|
+
root.style.scrollBehavior = "auto";
|
|
169
|
+
window.scrollTo(0, y);
|
|
170
|
+
root.style.scrollBehavior = behavior;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
window.addEventListener("pagehide", () => {
|
|
174
|
+
if (root.dataset.previousScrollY) root.dataset.previousScrollY = "null";
|
|
175
|
+
});
|
|
176
|
+
return true;
|
|
177
|
+
},
|
|
160
178
|
EVAL_STEAMPOWERED_0: () => JSON.parse(
|
|
161
179
|
decodeURIComponent(
|
|
162
180
|
document.cookie.split(";").find((s) => s.trim().startsWith("cookieSettings")).split("=")[1]
|