Add CookieConsent

This commit is contained in:
Norbi Peti 2018-05-29 00:45:38 +02:00 committed by GitHub
parent 9f8f5136f2
commit f97df59db7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,24 @@
<HEAD> <HEAD>
<LINK href="./custom.css" rel="stylesheet" type="text/css"> <LINK href="./custom.css" rel="stylesheet" type="text/css">
<script src="include.js"></script> <script src="include.js"></script>
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#252e39"
},
"button": {
"background": "#14a7d0"
}
},
"content": {
"message": "This website uses cookies to mainly provide the ability to log in and access user preferences. We don't use them for ad targeting."
}
})});
</script>
</HEAD> </HEAD>
<div id="logins"> <div id="logins">