Add CookieConsent
This commit is contained in:
parent
9f8f5136f2
commit
f97df59db7
1 changed files with 18 additions and 0 deletions
18
index.html
18
index.html
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue