Skip to content

Commit

Permalink
Removed force dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek-chaubey committed Aug 14, 2024
1 parent 48955fb commit 5feba4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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{
Expand Down

0 comments on commit 5feba4c

Please sign in to comment.