@duckduckgo/autoconsent 14.88.0 → 14.90.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckduckgo/autoconsent",
3
- "version": "14.88.0",
3
+ "version": "14.90.0",
4
4
  "description": "",
5
5
  "types": "./dist/types/web.d.ts",
6
6
  "exports": {
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "aylo-cookie-banner",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.redtube.com/"
5
+ },
6
+ "prehideSelectors": ["#cookie_consent_wrapper, #cookie_consent_min_wrapper, #manage_cookie_consent_modal"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#cookie_consent_wrapper:not(.hideConsent)"
10
+ },
11
+ {
12
+ "exists": "#cookie_consent_wrapper #consent_accept_essential, #manage_cookie_consent_modal #modal_consent_accept_essential"
13
+ }
14
+ ],
15
+ "detectPopup": [
16
+ {
17
+ "visible": "#cookie_consent_wrapper:not(.hideConsent)"
18
+ },
19
+ {
20
+ "visible": "#age_disclaimer_window,#ageDisclaimerWrapper",
21
+ "check": "none"
22
+ }
23
+ ],
24
+ "optIn": [
25
+ {
26
+ "waitForThenClick": "#cookie_consent_wrapper #consent_accept_all, #manage_cookie_consent_modal #modal_consent_accept_all"
27
+ }
28
+ ],
29
+ "optOut": [
30
+ {
31
+ "waitForThenClick": "#cookie_consent_wrapper #consent_accept_essential, #manage_cookie_consent_modal #modal_consent_accept_essential",
32
+ "all": true
33
+ },
34
+ {
35
+ "waitForThenClick": "#cookie_consent_min_wrapper #close_minimized_banner",
36
+ "comment": "dismiss the 'Some features may not be available...' minimized banner that may appear after opting out",
37
+ "optional": true
38
+ }
39
+ ],
40
+ "test": [
41
+ {
42
+ "cookieContains": "cookieConsent=1"
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "miles-and-more",
3
+ "vendorUrl": "https://www.miles-and-more.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https://(www\\.)?miles-and-more\\.com/"
6
+ },
7
+ "prehideSelectors": ["dialog.cookieconsent__dialog"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".cookieconsent__base[data-component=\"cookieconsent\"]"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".cookieconsent__buttonAcceptNecessary"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".cookieconsent__buttonAcceptAll"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "wait": 500
26
+ },
27
+ {
28
+ "waitForThenClick": ".cookieconsent__buttonAcceptNecessary"
29
+ }
30
+ ],
31
+ "test": [
32
+ {
33
+ "cookieContains": "consent_choice="
34
+ }
35
+ ]
36
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "police-uk",
3
+ "prehideSelectors": ["#js-consent-banner"],
4
+ "detectCmp": [{ "exists": "#js-consent-banner #js-cookie-reject-button" }],
5
+ "detectPopup": [{ "visible": "#js-consent-banner #js-cookie-reject-button" }],
6
+ "optIn": [
7
+ { "waitForThenClick": "#js-consent-banner #js-cookie-accept-button" },
8
+ { "waitForVisible": "#js-consent-banner #js-cookie-dismiss-button", "timeout": 5000, "optional": true },
9
+ { "click": "#js-consent-banner #js-cookie-dismiss-button", "optional": true }
10
+ ],
11
+ "optOut": [
12
+ { "waitForThenClick": "#js-consent-banner #js-cookie-reject-button" },
13
+ { "waitForVisible": "#js-consent-banner #js-cookie-dismiss-button", "timeout": 5000, "optional": true },
14
+ { "click": "#js-consent-banner #js-cookie-dismiss-button", "optional": true }
15
+ ],
16
+ "test": [{ "cookieContains": "cookie-consent=" }]
17
+ }