From 0d8216b407bfb29a2dfd7adba31d10dad4a23e73 Mon Sep 17 00:00:00 2001
From: RabsRincon
Date: Tue, 3 Jul 2018 12:48:40 +0200
Subject: [PATCH] Try using cookieconsent
---
package.json | 1 +
static/cookies.html | 1 -
static/explorer.css | 2 +
static/main.js | 91 ++++++++++++++++++++++++++++++++++-----------
static/privacy.html | 25 +++++++++++++
views/index.pug | 16 +++-----
yarn.lock | 4 ++
7 files changed, 107 insertions(+), 33 deletions(-)
create mode 100644 static/privacy.html
diff --git a/package.json b/package.json
index 4b9eb3c85..70ee6c393 100644
--- a/package.json
+++ b/package.json
@@ -24,6 +24,7 @@
"clipboard": "^1.7.1",
"compiler-opt-info": "0.0.4",
"compression": "^1.7.1",
+ "cookieconsent": "^3.0.6",
"cross-env": "^5.1.3",
"denodeify": "^1.2.1",
"es6-promise": "^4.1.1",
diff --git a/static/cookies.html b/static/cookies.html
index fbf1e2d2a..f7cec5d92 100644
--- a/static/cookies.html
+++ b/static/cookies.html
@@ -45,6 +45,5 @@ we make use of your browser's localStorage, where we place:
and you can set most browsers to prevent them from being placed.
If you do this, however, you may have to manually adjust some preferences every time you visit a site
and some services and functionalities may not work.
-You can easily accept or reject the use of cookies and related technologies on this site by choosing one of the following options: