From bf2db5dc10c9b8d10ab555c3834a9e96d2873d3e Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 21 Jan 2023 19:47:55 +0100 Subject: REMOVED: Google Analytics --- common/common.js | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 common/common.js (limited to 'common') diff --git a/common/common.js b/common/common.js deleted file mode 100644 index d79f659..0000000 --- a/common/common.js +++ /dev/null @@ -1,36 +0,0 @@ -/* Cookies */ -// Source: https://www.w3schools.com/js/js_cookies.asp -function getCookie(cname) { - let name = cname + "="; - let decodedCookie = decodeURIComponent(document.cookie); - let ca = decodedCookie.split(';'); - - for(let i = 0; i \ -

NOTE: This website uses Google Analytics to collect visitor statistics.

\ - \ - "; - - const div_analyticsBanner = document.getElementById("analytics-banner"); - const btn_analyticsConfirm = document.getElementById("analytics-confirm"); - - btn_analyticsConfirm.onclick = function() { - div_analyticsBanner.setAttribute("confirmed", "true"); - document.cookie += "confirmed_analytics=true;"; - }; -} \ No newline at end of file -- cgit v1.2.3