@duckduckgo/autoconsent 1.0.7 → 2.1.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/.eslintrc.cjs +14 -0
- package/.vscode/.idea/.vscode.iml +9 -0
- package/.vscode/.idea/modules.xml +8 -0
- package/.vscode/.idea/workspace.xml +28 -0
- package/.vscode/settings.json +7 -0
- package/Jenkinsfile +68 -39
- package/api.md +104 -0
- package/dist/addon-firefox/background.bundle.js +1 -0
- package/dist/addon-firefox/content.bundle.js +1 -0
- package/dist/addon-firefox/icons/cog.png +0 -0
- package/dist/addon-firefox/icons/cookie-idle.png +0 -0
- package/dist/addon-firefox/icons/cookie.png +0 -0
- package/dist/addon-firefox/icons/party.png +0 -0
- package/dist/addon-firefox/icons/tick.png +0 -0
- package/dist/addon-firefox/icons/verified.png +0 -0
- package/dist/addon-firefox/rules.json +4167 -0
- package/dist/addon-mv3/background.bundle.js +1 -0
- package/dist/addon-mv3/content.bundle.js +1 -0
- package/dist/addon-mv3/icons/cog.png +0 -0
- package/dist/addon-mv3/icons/cookie-idle.png +0 -0
- package/dist/addon-mv3/icons/cookie.png +0 -0
- package/dist/addon-mv3/icons/party.png +0 -0
- package/dist/addon-mv3/icons/tick.png +0 -0
- package/dist/addon-mv3/icons/verified.png +0 -0
- package/dist/addon-mv3/rules.json +4167 -0
- package/dist/autoconsent.cjs.js +1 -1383
- package/dist/autoconsent.esm.js +1 -1375
- package/dist/autoconsent.playwright.js +1 -0
- package/lib/cmps/all.ts +15 -10
- package/lib/cmps/base.ts +95 -90
- package/lib/cmps/consentmanager.ts +31 -19
- package/lib/cmps/consentomatic.ts +89 -0
- package/lib/cmps/cookiebot.ts +62 -53
- package/lib/cmps/evidon.ts +29 -18
- package/lib/cmps/onetrust.ts +32 -20
- package/lib/cmps/sourcepoint-frame.ts +104 -0
- package/lib/cmps/sourcepoint-top.ts +47 -0
- package/lib/cmps/trustarc-frame.ts +115 -0
- package/lib/cmps/trustarc-top.ts +97 -0
- package/lib/consentomatic/index.ts +233 -70
- package/lib/{web/consentomatic → consentomatic}/tools.ts +0 -0
- package/lib/eval-handler.ts +58 -0
- package/lib/index.ts +0 -2
- package/lib/messages.ts +100 -0
- package/lib/rule-executors.ts +108 -0
- package/lib/rules.ts +82 -0
- package/lib/types.ts +35 -0
- package/lib/utils.ts +64 -0
- package/lib/web.ts +288 -74
- package/package.json +20 -16
- package/playwright/content.ts +21 -0
- package/playwright/runner.ts +162 -0
- package/playwright.config.ts +7 -0
- package/readme.md +61 -47
- package/rollup.config.js +30 -16
- package/rules/autoconsent/192.json +17 -0
- package/rules/autoconsent/ausopen.json +8 -0
- package/rules/autoconsent/baden-wuerttemberg-de.json +7 -3
- package/rules/autoconsent/bing.json +14 -0
- package/rules/autoconsent/bundesregierung-de.json +5 -1
- package/rules/autoconsent/cc-banner.json +0 -1
- package/rules/autoconsent/cookie-law-info.json +1 -1
- package/rules/autoconsent/cookie-notice.json +1 -2
- package/rules/autoconsent/cookieconsent.json +5 -6
- package/rules/autoconsent/destatis-de.json +2 -2
- package/rules/autoconsent/dunelm.json +18 -0
- package/rules/autoconsent/etsy.json +4 -3
- package/rules/autoconsent/eu-cookie-compliance.json +0 -1
- package/rules/autoconsent/gov-uk.json +10 -0
- package/rules/autoconsent/hl-co-uk.json +8 -9
- package/rules/autoconsent/johnlewis.json +5 -2
- package/rules/autoconsent/marksandspencer.json +8 -0
- package/rules/autoconsent/mediamarkt-de.json +1 -1
- package/rules/autoconsent/microsoft.json +1 -1
- package/rules/autoconsent/notice-cookie.json +0 -1
- package/rules/autoconsent/osano.json +4 -2
- package/rules/autoconsent/{paypal-de.json → paypal.json} +6 -2
- package/rules/autoconsent/snigel.json +2 -1
- package/rules/autoconsent/tealium.json +4 -5
- package/rules/autoconsent/thefreedictionary.json +1 -1
- package/rules/autoconsent/uswitch.json +8 -0
- package/rules/autoconsent/waitrose.json +28 -0
- package/rules/autoconsent/wetransfer.json +7 -0
- package/rules/rules.json +345 -45
- package/tests/192.spec.ts +7 -0
- package/tests/arzt-auskunft.spec.ts +1 -1
- package/tests/asus.spec.ts +1 -1
- package/tests/ausopen.spec.ts +7 -0
- package/tests/aws.amazon.spec.ts +1 -1
- package/tests/baden-wuerttemberg.spec.ts +1 -1
- package/tests/borlabs.spec.ts +1 -1
- package/tests/bundesregierung.spec.ts +5 -2
- package/tests/ccbanner.spec.ts +1 -1
- package/tests/consentmanager.spec.ts +3 -3
- package/tests/cookiebot.spec.ts +8 -1
- package/tests/cookieconsent.spec.ts +1 -1
- package/tests/cookielawinfo.spec.ts +1 -1
- package/tests/cookienotice.spec.ts +1 -1
- package/tests/corona-in-zahlen.spec.ts +1 -1
- package/tests/deepl.spec.ts +1 -1
- package/tests/destatis.spec.ts +1 -1
- package/tests/didomi.spec.ts +7 -3
- package/tests/drupal.spec.ts +8 -0
- package/tests/dunelm.spec.ts +7 -0
- package/tests/etsy.spec.ts +1 -1
- package/tests/eu-cookie-compliance-banner.spec.ts +1 -1
- package/tests/evidon.spec.ts +7 -2
- package/tests/fundingchoices.spec.ts +2 -1
- package/tests/gov-uk.spec.ts +9 -0
- package/tests/hl-co-uk.spec.ts +1 -1
- package/tests/hubspot.spec.ts +1 -1
- package/tests/ionos.spec.ts +1 -1
- package/tests/johnlewis.spec.ts +2 -2
- package/tests/klaro.spec.ts +1 -1
- package/tests/marksandspencer.spec.ts +7 -0
- package/tests/mediamarkt.spec.ts +1 -1
- package/tests/metoffice-gov-uk.spec.ts +1 -1
- package/tests/microsoft.spec.ts +1 -1
- package/tests/moneysavingexpert.spec.ts +1 -1
- package/tests/motor-talk.spec.ts +1 -1
- package/tests/national-lottery.spec.ts +1 -1
- package/tests/netflix.spec.ts +1 -1
- package/tests/nhs.spec.ts +1 -1
- package/tests/notice-cookie.spec.ts +1 -1
- package/tests/obi.spec.ts +1 -1
- package/tests/oil.spec.ts +2 -2
- package/tests/onetrust.spec.ts +27 -2
- package/tests/osano.spec.ts +1 -1
- package/tests/otto.spec.ts +1 -1
- package/tests/paypal.spec.ts +8 -6
- package/tests/quantcast.spec.ts +5 -2
- package/tests/snigel.spec.ts +1 -1
- package/tests/sourcepoint.spec.ts +8 -8
- package/tests/springer.spec.ts +2 -2
- package/tests/steampowered.spec.ts +1 -1
- package/tests/tealium.spec.ts +1 -1
- package/tests/testcmp.spec.ts +1 -1
- package/tests/thalia.spec.ts +1 -1
- package/tests/thefreedictionary.spec.ts +1 -1
- package/tests/trustarc.spec.ts +26 -3
- package/tests/usercentrics-1.spec.ts +1 -1
- package/tests/uswitch.spec.ts +7 -0
- package/tests/vodafone.spec.ts +1 -1
- package/tests/waitrose.spec.ts +7 -0
- package/tests/wetransfer.spec.ts +7 -0
- package/tests/wordpressgdpr.spec.ts +2 -2
- package/tests/xing.spec.ts +1 -1
- package/tsconfig.json +2 -2
- package/update_version.js +10 -6
- package/.eslintrc +0 -12
- package/cosmetics/rules.json +0 -110
- package/dist/autoconsent.puppet.js +0 -1074
- package/lib/cmps/all.js +0 -19
- package/lib/cmps/base.js +0 -174
- package/lib/cmps/consentmanager.js +0 -31
- package/lib/cmps/cookiebot.js +0 -73
- package/lib/cmps/evidon.js +0 -26
- package/lib/cmps/onetrust.js +0 -34
- package/lib/cmps/sourcepoint.js +0 -82
- package/lib/cmps/sourcepoint.ts +0 -95
- package/lib/cmps/trustarc.js +0 -106
- package/lib/cmps/trustarc.ts +0 -147
- package/lib/config.js +0 -1
- package/lib/consentomatic/index.js +0 -52
- package/lib/detector.js +0 -33
- package/lib/detector.ts +0 -34
- package/lib/hider.js +0 -13
- package/lib/hider.ts +0 -16
- package/lib/index.js +0 -4
- package/lib/messages.d.ts +0 -61
- package/lib/node.js +0 -35
- package/lib/node.ts +0 -43
- package/lib/puppet/tab.js +0 -121
- package/lib/puppet/tab.ts +0 -146
- package/lib/rules.d.ts +0 -80
- package/lib/tabwrapper.js +0 -67
- package/lib/tabwrapper.ts +0 -74
- package/lib/types.d.ts +0 -61
- package/lib/web/consentomatic/index.ts +0 -249
- package/lib/web/content-utils.js +0 -29
- package/lib/web/content-utils.ts +0 -31
- package/lib/web/content.js +0 -89
- package/lib/web/content.ts +0 -80
- package/lib/web/tab.js +0 -112
- package/lib/web/tab.ts +0 -178
- package/lib/web.js +0 -95
- package/tests/runner.ts +0 -61
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('bundesregierung.de', [
|
|
4
4
|
'https://bundesregierung.de'], {
|
|
5
|
-
skipRegions: [
|
|
5
|
+
skipRegions: [
|
|
6
|
+
"US", "FR", "GB",
|
|
7
|
+
"DE" // our crawler proxy hits a bot wall, but it still passes locally
|
|
8
|
+
]
|
|
6
9
|
}
|
|
7
10
|
);
|
package/tests/ccbanner.spec.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('consentmanager.net',
|
|
4
4
|
[
|
|
5
|
-
'https://sourceforge.net/',
|
|
6
|
-
'https://www.dastelefonbuch.de/',
|
|
5
|
+
// 'https://sourceforge.net/', // disabled because of a botwall
|
|
6
|
+
// 'https://www.dastelefonbuch.de/', // disabled due to Playwright bug in WebKit: https://github.com/microsoft/playwright/issues/14745
|
|
7
7
|
'https://www.history.de/',
|
|
8
8
|
]
|
|
9
9
|
, {
|
package/tests/cookiebot.spec.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('Cybotcookiebot', [
|
|
4
4
|
'https://www.wohnen.de/',
|
|
5
5
|
'https://www.zwilling.com/de/',
|
|
6
6
|
'https://forums.cpanel.net/',
|
|
7
|
+
'https://tfl.gov.uk',
|
|
8
|
+
|
|
9
|
+
// "https://www.ab-in-den-urlaub.de/", // often blocked by botwall
|
|
10
|
+
|
|
11
|
+
"https://www.centralpoint.nl/",
|
|
12
|
+
"https://www.vatera.hu/",
|
|
13
|
+
"https://www.smartsheet.com/",
|
|
7
14
|
], {
|
|
8
15
|
skipRegions: ['US']
|
|
9
16
|
});
|
package/tests/deepl.spec.ts
CHANGED
package/tests/destatis.spec.ts
CHANGED
package/tests/didomi.spec.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('com_didomi.io', [
|
|
4
|
-
'https://www.ghacks.net/'
|
|
4
|
+
'https://www.ghacks.net/',
|
|
5
|
+
"https://www.20minutes.fr/",
|
|
6
|
+
"https://www.planet.fr/",
|
|
7
|
+
"http://www.allocine.fr/",
|
|
8
|
+
"https://www.boursorama.com/",
|
|
5
9
|
], {
|
|
6
|
-
|
|
10
|
+
testOptIn: false,
|
|
7
11
|
testSelfTest: false,
|
|
8
12
|
skipRegions: ["US"],
|
|
9
13
|
});
|
package/tests/etsy.spec.ts
CHANGED
package/tests/evidon.spec.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('Evidon', [
|
|
4
|
-
'https://www.kia.com/us/en',
|
|
5
4
|
'https://www.fujitsu.com/global/'
|
|
6
5
|
]);
|
|
6
|
+
|
|
7
|
+
generateCMPTests('Evidon', [
|
|
8
|
+
'https://www.kia.com/us/en', // "I agree" button is actually a decline button
|
|
9
|
+
], {
|
|
10
|
+
testOptIn: false,
|
|
11
|
+
});
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('funding-choices', [
|
|
4
4
|
'https://www.schulferien.org/',
|
|
5
5
|
'https://www.bbc.com/',
|
|
6
6
|
'https://www.accuweather.com/',
|
|
7
7
|
'https://hbr.org/',
|
|
8
|
+
"https://www.dinarguru.com/",
|
|
8
9
|
], {
|
|
9
10
|
skipRegions: ["US", "GB"]
|
|
10
11
|
});
|
package/tests/hl-co-uk.spec.ts
CHANGED
package/tests/hubspot.spec.ts
CHANGED
package/tests/ionos.spec.ts
CHANGED
package/tests/johnlewis.spec.ts
CHANGED
package/tests/klaro.spec.ts
CHANGED
package/tests/mediamarkt.spec.ts
CHANGED
package/tests/microsoft.spec.ts
CHANGED
package/tests/motor-talk.spec.ts
CHANGED
package/tests/netflix.spec.ts
CHANGED
package/tests/nhs.spec.ts
CHANGED
package/tests/obi.spec.ts
CHANGED
package/tests/oil.spec.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('com_oil', [
|
|
4
4
|
'https://www.lastminute.com/',
|
|
5
5
|
'https://www.nubert.de/',
|
|
6
6
|
], {
|
|
7
7
|
skipRegions: ['GB'],
|
|
8
|
-
|
|
8
|
+
testOptIn: false,
|
|
9
9
|
testSelfTest: false,
|
|
10
10
|
});
|
package/tests/onetrust.spec.ts
CHANGED
|
@@ -1,20 +1,45 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('Onetrust', [
|
|
4
|
-
'https://mailchimp.com/',
|
|
5
4
|
'https://stackoverflow.com/',
|
|
6
5
|
'https://www.zdf.de/',
|
|
6
|
+
"https://www.lovescout24.de/",
|
|
7
|
+
"https://www.okcupid.com/",
|
|
8
|
+
"https://doodle.com/",
|
|
7
9
|
]);
|
|
8
10
|
|
|
11
|
+
generateCMPTests('Onetrust', [
|
|
12
|
+
'https://mailchimp.com/',
|
|
13
|
+
"https://www.accenture.com/",
|
|
14
|
+
'https://www.zoom.us',
|
|
15
|
+
], {
|
|
16
|
+
testOptIn: false,
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
// opt-in is not necessary in the US on this sites
|
|
20
|
+
generateCMPTests('Onetrust', [
|
|
21
|
+
'https://mailchimp.com/',
|
|
22
|
+
"https://www.accenture.com/",
|
|
23
|
+
'https://www.zoom.us',
|
|
24
|
+
], {
|
|
25
|
+
testOptIn: true,
|
|
26
|
+
testOptOut: false,
|
|
27
|
+
skipRegions: ['US'],
|
|
28
|
+
});
|
|
29
|
+
|
|
9
30
|
generateCMPTests('Onetrust', [
|
|
10
31
|
'https://arstechnica.com/',
|
|
11
32
|
'https://www.nvidia.com/',
|
|
33
|
+
"https://bitbucket.org/",
|
|
34
|
+
"https://www.atlassian.com/",
|
|
12
35
|
], {
|
|
13
36
|
skipRegions: ['US', 'GB']
|
|
14
37
|
});
|
|
15
38
|
|
|
16
39
|
generateCMPTests('Onetrust', [
|
|
17
40
|
"https://www.newyorker.com/",
|
|
41
|
+
"https://www.adobe.com/de/",
|
|
42
|
+
"https://about.gitlab.com",
|
|
18
43
|
], {
|
|
19
44
|
skipRegions: ['US']
|
|
20
45
|
});
|
package/tests/osano.spec.ts
CHANGED
package/tests/otto.spec.ts
CHANGED
package/tests/paypal.spec.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
|
-
generateCMPTests('paypal.
|
|
4
|
-
'https://paypal.de'
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
generateCMPTests('paypal.com', [
|
|
4
|
+
'https://paypal.de',
|
|
5
|
+
'https://paypal.com'
|
|
6
|
+
],{
|
|
7
|
+
skipRegions: ["US"],
|
|
8
|
+
testSelfTest: false
|
|
9
|
+
});
|
package/tests/quantcast.spec.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('quantcast', [
|
|
4
4
|
'https://www.cyclingnews.com/',
|
|
5
5
|
'https://www.techradar.com/',
|
|
6
|
+
"https://www.anandtech.com/",
|
|
7
|
+
"https://www.livescience.com",
|
|
8
|
+
"https://www.gamesradar.com",
|
|
6
9
|
], {
|
|
7
10
|
skipRegions: ["US", "GB", "FR"]
|
|
8
11
|
});
|
|
@@ -10,7 +13,7 @@ generateCMPTests('quantcast', [
|
|
|
10
13
|
generateCMPTests('com_quantcast2', [
|
|
11
14
|
'https://www.fandom.com/',
|
|
12
15
|
], {
|
|
13
|
-
|
|
16
|
+
testOptIn: false,
|
|
14
17
|
testSelfTest: false,
|
|
15
18
|
skipRegions: ["US"]
|
|
16
19
|
});
|
package/tests/snigel.spec.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
|
-
generateCMPTests('Sourcepoint', [
|
|
3
|
+
generateCMPTests('Sourcepoint-frame', [
|
|
4
4
|
'https://www.theguardian.com/',
|
|
5
5
|
'https://www.n-tv.de/',
|
|
6
6
|
'https://www.sueddeutsche.de/',
|
|
7
|
-
'https://news.sky.com/'
|
|
8
|
-
]
|
|
9
|
-
testSelfTest: false,
|
|
10
|
-
});
|
|
7
|
+
'https://news.sky.com/',
|
|
8
|
+
]);
|
|
11
9
|
|
|
12
|
-
generateCMPTests('Sourcepoint', [
|
|
10
|
+
generateCMPTests('Sourcepoint-frame', [
|
|
13
11
|
'https://www.insider.com/',
|
|
12
|
+
"https://www.brianmadden.com/",
|
|
13
|
+
"https://www.csoonline.com/blogs",
|
|
14
|
+
"https://www.independent.co.uk/",
|
|
14
15
|
], {
|
|
15
16
|
skipRegions: ["US", "GB"],
|
|
16
|
-
testSelfTest: false,
|
|
17
17
|
});
|
package/tests/springer.spec.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('com_springer', [
|
|
4
4
|
'https://www.beobachter.ch/',
|
|
@@ -6,6 +6,6 @@ generateCMPTests('com_springer', [
|
|
|
6
6
|
'https://www.onet.pl/',
|
|
7
7
|
], {
|
|
8
8
|
skipRegions: ['GB'],
|
|
9
|
-
|
|
9
|
+
testOptIn: false,
|
|
10
10
|
testSelfTest: false,
|
|
11
11
|
});
|
package/tests/tealium.spec.ts
CHANGED
package/tests/testcmp.spec.ts
CHANGED
package/tests/thalia.spec.ts
CHANGED
package/tests/trustarc.spec.ts
CHANGED
|
@@ -1,13 +1,36 @@
|
|
|
1
|
-
import generateCMPTests from "
|
|
2
|
-
import { test } from '@playwright/test';
|
|
1
|
+
import generateCMPTests from "../playwright/runner";
|
|
3
2
|
|
|
4
|
-
generateCMPTests('TrustArc', [
|
|
3
|
+
generateCMPTests('TrustArc-top', [
|
|
4
|
+
'https://www.samsung.com/uk/smartphones/all-smartphones/',
|
|
5
|
+
], {
|
|
6
|
+
testOptOut: true,
|
|
7
|
+
testSelfTest: false,
|
|
8
|
+
skipRegions: ["US"]
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
generateCMPTests('TrustArc-top', [
|
|
5
12
|
'https://www.garmin.com/de-DE/',
|
|
13
|
+
], {
|
|
14
|
+
testOptOut: true,
|
|
15
|
+
testSelfTest: false,
|
|
16
|
+
skipRegions: ["US", "FR"]
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
generateCMPTests('TrustArc-frame', [
|
|
20
|
+
'https://www.garmin.com/de-DE/',
|
|
21
|
+
], {
|
|
22
|
+
testOptOut: true,
|
|
23
|
+
testSelfTest: false,
|
|
24
|
+
onlyRegions: ["FR"]
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
generateCMPTests('TrustArc-frame', [
|
|
6
28
|
'https://www.wish.com/',
|
|
7
29
|
'https://www.forbes.com/',
|
|
8
30
|
'https://www.starbucks.com/',
|
|
9
31
|
], {
|
|
10
32
|
testOptOut: true,
|
|
11
33
|
testSelfTest: false,
|
|
34
|
+
testOptIn: false, // opt-in works, but is triggered by the top frame
|
|
12
35
|
skipRegions: ["US"]
|
|
13
36
|
});
|
package/tests/vodafone.spec.ts
CHANGED
package/tests/xing.spec.ts
CHANGED
package/tsconfig.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
4
|
-
"typeRoots": ["node_modules/web-ext-types"],
|
|
3
|
+
"target": "es2021",
|
|
5
4
|
"resolveJsonModule": true,
|
|
6
5
|
"moduleResolution": "node",
|
|
7
6
|
"noImplicitAny": true,
|
|
7
|
+
"allowSyntheticDefaultImports": true
|
|
8
8
|
},
|
|
9
9
|
"exclude": [
|
|
10
10
|
"node_modules/*",
|