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 */ "cookieName": "tarteaucitron", /* Cookie name */
"orientation": "middle", /* Banner position (top - bottom) */ "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 */ "iconPosition": "BottomRight", /* Position of the icon between BottomRight, BottomLeft, TopRight and TopLeft */
"adblocker": false, /* Show a Warning if an adblocker is detected */ "adblocker": false, /* Show a Warning if an adblocker is detected */
"DenyAllCta" : true, /* Show the deny all button */ "DenyAllCta" : true, /* Show the deny all button */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */ "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 */ "handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
"removeCredit": false, /* Remove credit link */ "removeCredit": false, /* Remove credit link */
@ -55,9 +58,9 @@ tarteaucitron.init({
//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for subdomain website */ //"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> </script>
``` ```

View File

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