From 5feba4c17364a2471f50cf8c873583ff002090af Mon Sep 17 00:00:00 2001 From: Prateek Chaubey <41151614+prateek-chaubey@users.noreply.github.com> Date: Wed, 14 Aug 2024 21:44:31 +0530 Subject: [PATCH] Removed force dark mode --- scripts/script.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/script.js b/scripts/script.js index 0f0fe83..6b0343f 100644 --- a/scripts/script.js +++ b/scripts/script.js @@ -81,6 +81,10 @@ var c="#000"; var d="#f2f2f2"; var dislikes="..."; + +//Force Dark mode + +/* if(document.cookie.indexOf("PREF") < 0 || document.cookie.indexOf("f6=") < 0){ document.cookie.replace( /(?<=^|;).+?(?=\=|;|$)/g, @@ -91,7 +95,7 @@ name => location.hostname ); document.cookie="PREF=f6=400&f7=100;"; window.location.href=window.location.href; -} +}*/ if(document.cookie.indexOf("f6=400") > -1){ c ="#fff";d="rgba(255,255,255,0.1)"; }else{