@duckduckgo/autoconsent 14.66.0 → 14.67.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/CHANGELOG.md +19 -0
- package/dist/addon-firefox/background.bundle.js +20 -6
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +20 -6
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/package.json +1 -1
- package/playwright/runner.ts +9 -1
- package/rules/autoconsent/ensighten.json +50 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/ensighten.spec.ts +9 -0
- package/rules/autoconsent/ens-modal.json +0 -13
- package/rules/autoconsent/ens-notify-banner.json +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# v14.67.0 (Tue Mar 31 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Merge ensighten rules [#1124](https://github.com/duckduckgo/autoconsent/pull/1124) ([@muodov](https://github.com/muodov))
|
|
6
|
+
|
|
7
|
+
#### 🐛 Bug Fix
|
|
8
|
+
|
|
9
|
+
- Fix optIn in test extension and Playwright runner by using full rules [#1219](https://github.com/duckduckgo/autoconsent/pull/1219) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
|
|
10
|
+
- Add CLAUDE.md as symlink to AGENTS.md [#1220](https://github.com/duckduckgo/autoconsent/pull/1220) ([@cursoragent](https://github.com/cursoragent) [@noisysocks](https://github.com/noisysocks))
|
|
11
|
+
|
|
12
|
+
#### Authors: 3
|
|
13
|
+
|
|
14
|
+
- Cursor Agent ([@cursoragent](https://github.com/cursoragent))
|
|
15
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
16
|
+
- Robert Anderson ([@noisysocks](https://github.com/noisysocks))
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
1
20
|
# v14.66.0 (Sat Mar 28 2026)
|
|
2
21
|
|
|
3
22
|
#### 🚀 Enhancement
|
|
@@ -884,6 +884,11 @@
|
|
|
884
884
|
storageSet({
|
|
885
885
|
rules: await res.json()
|
|
886
886
|
});
|
|
887
|
+
const fullRes = await fetch("./rules.json");
|
|
888
|
+
const fullRules = await fullRes.json();
|
|
889
|
+
storageSet({
|
|
890
|
+
fullRules: fullRules.autoconsent
|
|
891
|
+
});
|
|
887
892
|
}
|
|
888
893
|
async function evalInTab(tabId, frameId, code, snippetId) {
|
|
889
894
|
return chrome.scripting.executeScript({
|
|
@@ -929,12 +934,21 @@
|
|
|
929
934
|
if (frameId === 0) {
|
|
930
935
|
await showOptOutStatus(tabId, "idle");
|
|
931
936
|
}
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
937
|
+
let rules;
|
|
938
|
+
if (autoconsentConfig.autoAction === "optIn") {
|
|
939
|
+
const fullRules = await storageGet("fullRules") || [];
|
|
940
|
+
rules = {
|
|
941
|
+
autoconsent: fullRules,
|
|
942
|
+
consentomatic
|
|
943
|
+
};
|
|
944
|
+
} else {
|
|
945
|
+
rules = {
|
|
946
|
+
autoconsent: [],
|
|
947
|
+
consentomatic,
|
|
948
|
+
compact: filterCompactRules(await storageGet("rules"), { url: senderUrl, mainFrame: frameId === 0 })
|
|
949
|
+
};
|
|
950
|
+
}
|
|
951
|
+
console.log("filtered rules:", rules.compact || rules.autoconsent?.length, JSON.stringify(rules).length);
|
|
938
952
|
chrome.tabs.sendMessage(
|
|
939
953
|
tabId,
|
|
940
954
|
{
|