From 0dfaf357dea505c53175960c769585dd711aa7be Mon Sep 17 00:00:00 2001 From: Orest Bida Date: Tue, 22 Feb 2022 02:31:36 +0100 Subject: [PATCH] Enable by default `page_scripts` and `hide_from_bots` options --- src/cookieconsent.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cookieconsent.js b/src/cookieconsent.js index 159ebc5f..c4606e5c 100644 --- a/src/cookieconsent.js +++ b/src/cookieconsent.js @@ -22,6 +22,8 @@ 'current_lang': 'en', 'auto_language': null, 'autorun': true, // run as soon as loaded + 'page_scripts': true, + 'hide_from_bots': true, 'cookie_name': 'cc_cookie', 'cookie_expiration': 182, // default: 6 months (in days) 'cookie_domain': window.location.hostname, // default: current domain