summaryrefslogtreecommitdiffstats
path: root/docs/generator/custom/javascripts/cookie-consent.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/generator/custom/javascripts/cookie-consent.js')
-rw-r--r--docs/generator/custom/javascripts/cookie-consent.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/generator/custom/javascripts/cookie-consent.js b/docs/generator/custom/javascripts/cookie-consent.js
new file mode 100644
index 000000000..a5c65da49
--- /dev/null
+++ b/docs/generator/custom/javascripts/cookie-consent.js
@@ -0,0 +1,15 @@
+window.addEventListener("load", function(){
+window.cookieconsent.initialise({
+ "palette": {
+ "popup": {
+ "background": "#000"
+ },
+ "button": {
+ "background": "#f1d600"
+ }
+ },
+ "content": {
+ "href": "https://docs.netdata.cloud/docs/privacy-policy/"
+ }
+})});
+