From d8745b86d34854e610035c0a8356f5b3ce2c327b Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Mon, 12 Oct 2020 11:32:50 +0200 Subject: [PATCH] Update default values --- README.md | 15 +++++++++------ tarteaucitron.js | 8 ++++---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 08daf90..de1878e 100644 --- a/README.md +++ b/README.md @@ -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 */ }); ``` diff --git a/tarteaucitron.js b/tarteaucitron.js index 8298d34..4439f96 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -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;