summaryrefslogtreecommitdiffstats
path: root/docs/generator/custom/javascripts
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 0000000..a5c65da
--- /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/"
+ }
+})});
+