@duckduckgo/autoconsent 14.84.1 → 14.84.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckduckgo/autoconsent",
3
- "version": "14.84.1",
3
+ "version": "14.84.2",
4
4
  "description": "",
5
5
  "types": "./dist/types/web.d.ts",
6
6
  "exports": {
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "eltax-lta-go-jp",
3
+ "vendorUrl": "https://portal.payment.eltax.lta.go.jp/",
4
+ "runContext": {
5
+ "urlPattern": "^https://(?:[^/]+\\.)?eltax\\.lta\\.go\\.jp/"
6
+ },
7
+ "prehideSelectors": [".modal:has(> .modal-content > .cookie-consent)"],
8
+ "detectCmp": [{ "exists": ".cookie-consent #cookieDisagree" }],
9
+ "detectPopup": [{ "visible": ".cookie-consent #cookieDisagree" }],
10
+ "optIn": [{ "waitForThenClick": ".cookie-consent #cookieAgree" }],
11
+ "optOut": [{ "waitForThenClick": ".cookie-consent #cookieDisagree" }]
12
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "sostereo.com",
3
+ "vendorUrl": "https://sostereo.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https://(www\\.)?sostereo\\.com/"
6
+ },
7
+ "prehideSelectors": ["app-cookie-consent"],
8
+ "detectCmp": [{ "exists": "app-cookie-consent" }],
9
+ "detectPopup": [{ "visible": "app-cookie-consent" }],
10
+ "optIn": [{ "waitForThenClick": "app-cookie-consent app-btn button" }],
11
+ "optOut": [
12
+ { "waitForThenClick": "app-cookie-consent button.underline" },
13
+ { "waitFor": "app-cookie-consent ui-switch button.switch" },
14
+ {
15
+ "click": "app-cookie-consent ui-switch button.switch.checked:not(.disabled)",
16
+ "all": true,
17
+ "optional": true
18
+ },
19
+ { "waitForThenClick": "app-cookie-consent app-btn button" }
20
+ ]
21
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "TrustArc-newcm",
3
+ "vendorUrl": "https://trustarc.com/",
4
+ "prehideSelectors": [".truste_popframe.trustarc_newcm_container"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": [".truste_popframe.trustarc_newcm_container", "a.required, a.call"]
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": [".truste_popframe.trustarc_newcm_container", "a.required, a.call"],
13
+ "check": "any"
14
+ }
15
+ ],
16
+ "optIn": [
17
+ {
18
+ "waitForThenClick": [".truste_popframe.trustarc_newcm_container", "a.call"]
19
+ }
20
+ ],
21
+ "optOut": [
22
+ {
23
+ "waitForThenClick": [".truste_popframe.trustarc_newcm_container", "a.required"]
24
+ }
25
+ ],
26
+ "test": [
27
+ { "cookieContains": "cmapi_cookie_privacy=permit 1" },
28
+ { "cookieContains": "cmapi_cookie_privacy=permit 1,2", "negated": true }
29
+ ]
30
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "trybe",
3
+ "vendorUrl": "https://try.be",
4
+ "cosmetic": false,
5
+ "prehideSelectors": [".react-cookie-policy"],
6
+ "detectCmp": [{ "exists": ".react-cookie-policy" }],
7
+ "detectPopup": [{ "visible": ".react-cookie-policy #cookie-policy" }],
8
+ "optIn": [
9
+ {
10
+ "waitForThenClick": "xpath///div[@class='react-cookie-policy']//button[contains(., 'Accept all')]"
11
+ }
12
+ ],
13
+ "optOut": [
14
+ {
15
+ "waitForThenClick": "xpath///div[@class='react-cookie-policy']//button[contains(., 'Cookie settings')]"
16
+ },
17
+ {
18
+ "waitFor": "button[role='switch']"
19
+ },
20
+ {
21
+ "click": "xpath///li[contains(., 'Tracking')]//button[@role='switch'][@aria-checked='true']",
22
+ "optional": true
23
+ },
24
+ {
25
+ "click": "xpath///li[contains(., 'Advertising')]//button[@role='switch'][@aria-checked='true']",
26
+ "optional": true
27
+ },
28
+ {
29
+ "waitForThenClick": "xpath///button[contains(., 'Save and close')]"
30
+ }
31
+ ],
32
+ "test": [
33
+ { "wait": 500 },
34
+ {
35
+ "cookieContains": "trybe_cookies_consent_tracking=false"
36
+ }
37
+ ]
38
+ }