Update default values

This commit is contained in:
Amauri CHAMPEAUX 2020-10-12 11:32:50 +02:00
parent 58cb048bd5
commit d8745b86d3
2 changed files with 13 additions and 10 deletions

View File

@ -37,16 +37,19 @@ tarteaucitron.init({
"cookieName": "tarteaucitron", /* Cookie name */
"orientation": "middle", /* Banner position (top - bottom) */
"showAlertSmall": true, /* Show the small banner on bottom right */
"cookieslist": true, /* Show the cookie list */
"showAlertSmall": false, /* Show the small banner on bottom right */
"cookieslist": false, /* Show the cookie list */
"showIcon": false, /* Show cookie icon to manage cookies */
"showIcon": true, /* Show cookie icon to manage cookies */
"iconPosition": "BottomRight", /* Position of the icon between BottomRight, BottomLeft, TopRight and TopLeft */
"adblocker": false, /* Show a Warning if an adblocker is detected */
"DenyAllCta" : true, /* Show the deny all button */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"highPrivacy": true, /* Disable auto consent */
"highPrivacy": true, /* HIGHLY RECOMMANDED Disable auto consent */
"handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
"removeCredit": false, /* Remove credit link */
@ -55,9 +58,9 @@ tarteaucitron.init({
//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for subdomain website */
"readmoreLink": "/cookiespolicy", /* Change the default readmore link pointing to tarteaucitron.io */
"readmoreLink": "", /* Change the default readmore link pointing to tarteaucitron.io */
"mandatory": false /* Show a message about mandatory cookies */
"mandatory": true /* Show a message about mandatory cookies */
});
</script>
```

View File

@ -207,10 +207,10 @@ var tarteaucitron = {
"orientation": "middle",
"bodyPosition": "bottom",
"removeCredit": false,
"showAlertSmall": true,
"showIcon": false,
"showAlertSmall": false,
"showIcon": true,
"iconPosition": "BottomRight",
"cookieslist": true,
"cookieslist": false,
"handleBrowserDNTRequest": false,
"DenyAllCta": true,
"AcceptAllCta" : true,
@ -218,7 +218,7 @@ var tarteaucitron = {
"privacyUrl": "",
"useExternalCss": false,
"useExternalJs": false,
"mandatory": false
"mandatory": true
},
params = tarteaucitron.parameters;