-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.json
97 lines (97 loc) · 3.61 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "Cookie Consent",
"version": "1.0.11",
"description": "Inform your users that you are using cookies",
"demo": "http://varoystrand.se/sidor/cookie-consent-for-koken/",
"author": {
"name": "Bjarne Varoystrand",
"link": "http://varoystrand.se/"
},
"data": {
"cookie_consent_message": {
"label": "The message shown",
"info": "The message shown by the plugin.",
"type": "string",
"value": "This website uses cookies to ensure you get the best experience on our website",
"validation": {
"type": "not_empty",
"error_message": "You need to provide a message to your visitors. I.e This website uses cookies to ensure you get the best experience on our website"
}
},
"cookie_consent_dismiss": {
"label": "Dismiss button",
"info": "The text used on the dismiss button.",
"type": "string",
"value": "Got it",
"validation": {
"type": "not_empty",
"error_message": "You need to provide a button text. I.e Got it"
}
},
"cookie_consent_learnmore": {
"label": "Learn more link",
"info": "The text shown on the link to the cookie policy.",
"type": "string",
"value": "More info",
"validation": {
"type": "not_empty",
"error_message": "You need to provide a text on the cookie policy link. I.e More info"
}
},
"cookie_consent_link": {
"label": "Cookie policy link",
"info": "The url of your cookie policy. If its empty, the link is hidden.",
"type": "string",
"placeholder": "/pages/privacy-policy/"
},
"cookie_consent_theme": {
"label": "Theme",
"info": "The theme you wish to use.",
"type": "select",
"options": [
{ "value": "light-top", "label": "Light top" },
{ "value": "light-inline", "label": "Light inline" },
{ "value": "light-floating", "label": "Light floating" },
{ "value": "light-floating-tada", "label": "Light floating tada" },
{ "value": "light-bottom", "label": "Light bottom" },
{ "value": "dark-top", "label": "Dark top" },
{ "value": "dark-inline", "label": "Dark inline" },
{ "value": "dark-floating", "label": "Dark floating" },
{ "value": "dark-floating-tada", "label": "Dark floating tada" },
{ "value": "dark-bottom", "label": "Dark bottom" },
{ "value": "false", "label": "Use your own theme" }
]
},
"cookie_consent_path": {
"label": "Cookie Path",
"info": "The path for the consent cookie that Cookie Consent uses, to remember that users have consented to cookies. Use to limit consent to a specific path within your website.",
"type": "string",
"value": "/",
"validation": {
"type": "not_empty",
"error_message": "You need to set a valid path for the cookie."
}
},
"cookie_consent_domain": {
"label": "Cookie Domain",
"info": "The domain for the consent cookie that Cookie Consent uses, to remember that users have consented to cookies. Useful if your website uses multiple subdomains, e.g. if your script is hosted at www.example.com you might override this to example.com, thereby allowing the same consent cookie to be read by subdomains like foo.example.com.",
"type": "string",
"placeholder": "example.com"
},
"cookie_consent_expirydays": {
"label": "Expiry days",
"info": "The number of days Cookie Consent should store the users consent information for. Defaults to 365 days (1 year).",
"type": "number",
"value": "365"
},
"cookie_consent_target": {
"label": "Target",
"info": "The target of the link to your cookie policy. Use to open a link in a new window.",
"type": "select",
"options": [
{ "value": "self", "label": "Same window" },
{ "value": "blank", "label": "Opens in new window" }
]
}
}
}