Skip to content

Commit

Permalink
I coming feature! Custom BG! Comming soon!
Browse files Browse the repository at this point in the history
  • Loading branch information
Modded Stuff GUY committed Mar 29, 2023
1 parent a21b8bf commit 83f38ac
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion static/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ <h2>Themes</h2>
<button onclick="savePallet('background/#3D3A50;sidebarcolor1/#303041;sidebarcolor2/#0EA2F6;textcolor/#F4FCFE;')">Default</button>
<button onclick="savePallet('background/#FFFFFF;sidebarcolor1/#FFFFFF;sidebarcolor2/#000000;textcolor/#000000;')">White</button>
<button onclick="savePallet('background/#101010;sidebarcolor1/#000000;sidebarcolor2/#89CFF0;textcolor/#89CFF0;')">Black</button>
<h2>Custom Background</h2>
<input id="bgurl" placeholder="Enter the URL of the background image" value="">
<button onclick="ChangeBG()">Apply Custom BG</button>
<div>
<hr>
<h2>TAB CLOAKER</h2>
Expand Down Expand Up @@ -159,6 +162,13 @@ <h2>TAB CLOAKER</h2>
<script src="scripts/original_bg_REMOVER.js"></script>
<script>
function ChangeBG() {
Cookies.set("", bgurl);
var bgurl = document.getElementById("bgurl").value
if (bgurl !=== null || bgurl !=== "" || bgurl !=== "null") {
Cookies.set("bg", bgurl);
}
else if (bgurl === null || bgurl === "" || bgurl === "null") {
Cookies.set("bg", "");
parent.location.reload();
}
}
</script>

0 comments on commit 83f38ac

Please sign in to comment.