@duckduckgo/autoconsent 14.81.0 → 14.83.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/AGENTS.md +3 -1
- package/CHANGELOG.md +27 -0
- package/dist/addon-firefox/background.bundle.js +7 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +16 -2
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/popup.bundle.js +20 -0
- package/dist/addon-firefox/popup.html +14 -0
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +7 -0
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +16 -2
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/popup.bundle.js +20 -0
- package/dist/addon-mv3/popup.html +14 -0
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +16 -2
- package/dist/autoconsent.esm.js +16 -2
- package/dist/autoconsent.extra.cjs.js +16 -2
- package/dist/autoconsent.extra.esm.js +16 -2
- package/dist/autoconsent.playwright.js +16 -2
- package/dist/types/types.d.ts +1 -0
- package/lib/types.ts +1 -0
- package/lib/utils.ts +1 -0
- package/lib/web.ts +17 -3
- package/package.json +1 -1
- package/rules/autoconsent/facebook-mobile.json +17 -0
- package/rules/autoconsent/facebook.json +1 -1
- package/rules/compact-rules.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/facebook-mobile.spec.ts +6 -0
- package/tests-wtr/lifecycle/wait-for-popup.html +14 -0
- package/tests-wtr/lifecycle/wait-for-popup.ts +214 -0
|
@@ -697,6 +697,7 @@
|
|
|
697
697
|
enableGeneratedRules: true,
|
|
698
698
|
enableHeuristicDetection: false,
|
|
699
699
|
enableHeuristicAction: false,
|
|
700
|
+
enablePopupMutationObserver: false,
|
|
700
701
|
detectRetries: 20,
|
|
701
702
|
isMainWorld: false,
|
|
702
703
|
prehideTimeout: 2e3,
|
|
@@ -726,6 +727,12 @@
|
|
|
726
727
|
if (!storedConfig.enableHeuristicDetection) {
|
|
727
728
|
storedConfig.enableHeuristicDetection = true;
|
|
728
729
|
}
|
|
730
|
+
if (storedConfig.enablePopupMutationObserver === void 0) {
|
|
731
|
+
storedConfig.enablePopupMutationObserver = true;
|
|
732
|
+
}
|
|
733
|
+
if (storedConfig.enableHeuristicAction === void 0) {
|
|
734
|
+
storedConfig.enableHeuristicAction = true;
|
|
735
|
+
}
|
|
729
736
|
if (!storedConfig.logs) {
|
|
730
737
|
storedConfig.logs = {
|
|
731
738
|
lifecycle: true,
|