diff --git a/404.html b/404.html index faf9a85..e3b6953 100644 --- a/404.html +++ b/404.html @@ -106,7 +106,6 @@

You have reached this page because either something was mislinked, or you t - diff --git a/catch.html b/catch.html index e93a156..f78acf0 100644 --- a/catch.html +++ b/catch.html @@ -40,7 +40,6 @@

catch error moment!!

- diff --git a/data/js/swap.js b/data/js/swap.js index 9e8c6b9..9688019 100644 --- a/data/js/swap.js +++ b/data/js/swap.js @@ -44,7 +44,7 @@ if (isNet == 0) { checkType = 2; } if (gameCoreType == "nds"){ - checkType = 3; + checkType = 4; } } if (isCheck == 2) { @@ -60,19 +60,19 @@ if (isNet == 0) { if (checkType == 1) { gameName = gameText; - let gameLink = "https://endpoint.i10.repl.co/gba-alt/" + gameName + ".gba"; + let gameLink = "../gba-host/gba-alt/" + gameName + ".gba"; gameName = gameLink; console.log("gba-server"); } if (checkType == 2) { gameName = gameText; - let gameLink = "https://endpoint.i10.repl.co/nes-alt/" + gameName + ".nes.zip"; + let gameLink = "../gba-host/nes-alt/" + gameName + ".nes.zip"; gameName = gameLink; console.log("nes-server"); } if (checkType == 3) { gameName = gameText; - let gameLink = "https://nds-host.nailington1.repl.co/?url=https://rawcdn.githack.com/mathadventure1/nds-host/0a9e47d73741eed5a1129535d1cb027ead56b027/nds-alt/" + gameName + ".zip"; + let gameLink = "https://rawcdn.githack.com/mathadventure1/nds-host/0a9e47d73741eed5a1129535d1cb027ead56b027/nds-alt/" + gameName + ".zip"; gameName = gameLink; console.log("nds-server"); isCheck = 0; @@ -133,10 +133,4 @@ if (custType == 3) { let gameLink = custHost + "n64-alt/" + gameName + ".7z"; gameName = gameLink; console.log(gameLink); -} - -let isDistrict = localStorage.getItem("district"); -if (isDistrict == "1") { - gameName += "?palmbeach.k12.fl.us"; - console.log(gameName); } \ No newline at end of file diff --git a/dev.html b/dev.html index 2336b00..7cf4e09 100644 --- a/dev.html +++ b/dev.html @@ -163,7 +163,6 @@

Featured Sites using this page!

- diff --git a/emulator.html b/emulator.html index d01439d..69c44c3 100644 --- a/emulator.html +++ b/emulator.html @@ -374,7 +374,6 @@

Featured Sites using this page!

Re-designed, Changed Emulator, and more by Cattn + Nailington#0747

- diff --git a/export.html b/export.html index ddf3233..7e7719e 100644 --- a/export.html +++ b/export.html @@ -45,7 +45,6 @@

Import/Export your Data

- diff --git a/gb.html b/gb.html index 979366f..186f342 100644 --- a/gb.html +++ b/gb.html @@ -628,7 +628,6 @@

Featured Sites using this page!

- diff --git a/gba-2.html b/gba-2.html index 12d1c35..fe2aba1 100644 --- a/gba-2.html +++ b/gba-2.html @@ -201,7 +201,6 @@

Featured Sites using this page!

- diff --git a/gba.html b/gba.html index bb3b6ca..cea20fa 100644 --- a/gba.html +++ b/gba.html @@ -475,7 +475,6 @@

Featured Sites using this page!

- diff --git a/gbc.html b/gbc.html index 45e1eb7..f75ef1a 100644 --- a/gbc.html +++ b/gbc.html @@ -587,7 +587,6 @@

Featured Sites using this page!

- diff --git a/gbindex.html b/gbindex.html index fb0e74e..2b16629 100644 --- a/gbindex.html +++ b/gbindex.html @@ -139,7 +139,6 @@

Legacy GBA (The - diff --git a/index.html b/index.html index 12956a9..5e49229 100644 --- a/index.html +++ b/index.html @@ -161,6 +161,5 @@

Play/Patch Your - - + diff --git a/index_beta.html b/index_beta.html index a249e0b..8cc0011 100644 --- a/index_beta.html +++ b/index_beta.html @@ -71,7 +71,6 @@

Favorites!

- diff --git a/info.html b/info.html index 337951f..65d43ad 100644 --- a/info.html +++ b/info.html @@ -72,7 +72,6 @@

I have another question not here!

Contact us on discord with any other questions! Join here!

- diff --git a/launchpad.html b/launchpad.html index 129e6a5..1a9479d 100644 --- a/launchpad.html +++ b/launchpad.html @@ -119,5 +119,4 @@ - - + diff --git a/n64.html b/n64.html index 95b66ae..d58815a 100644 --- a/n64.html +++ b/n64.html @@ -432,7 +432,6 @@

Featured Sites using this page!

- diff --git a/nds.html b/nds.html index 79901e7..e5a867a 100644 --- a/nds.html +++ b/nds.html @@ -930,7 +930,6 @@

Featured Sites using this page!

- diff --git a/nds2.html b/nds2.html index 6197e0b..1a4ecc2 100644 --- a/nds2.html +++ b/nds2.html @@ -1005,7 +1005,6 @@

Featured Sites using this page!

- diff --git a/nes.html b/nes.html index e817a4b..d53cd68 100644 --- a/nes.html +++ b/nes.html @@ -840,7 +840,6 @@

Featured Sites using this page!

- diff --git a/nesindex.html b/nesindex.html index bcf6a56..0683e5a 100644 --- a/nesindex.html +++ b/nesindex.html @@ -135,7 +135,6 @@

N64 Emulator (NEW!)< - diff --git a/offline.html b/offline.html index 9299814..b9757f7 100644 --- a/offline.html +++ b/offline.html @@ -106,7 +106,6 @@

All joking aside, you are OFFLINE! Some pages may still load, but the one y - diff --git a/recommendations.html b/recommendations.html index 5ba16fb..932ac35 100644 --- a/recommendations.html +++ b/recommendations.html @@ -180,7 +180,6 @@

Staff Picks

- diff --git a/romindex.html b/romindex.html index 2792ee8..8341305 100644 --- a/romindex.html +++ b/romindex.html @@ -130,7 +130,6 @@

Play Your ROM - diff --git a/segaMD.html b/segaMD.html index d05c7d5..46b5d0d 100644 --- a/segaMD.html +++ b/segaMD.html @@ -865,7 +865,6 @@

Featured Sites using this page!

- diff --git a/settings.html b/settings.html index 98d0ada..32eef00 100644 --- a/settings.html +++ b/settings.html @@ -76,27 +76,11 @@

Welcome to the Settings Page!

Netplay ON or OFF

HUGE WARNING: PLEASE BACKUP YOUR SAVE STATES BEFORE DOING THIS THERE ARE RISKS INVOLVED, AS IT WILL USE THE OLD CORES FOR RETROARCH.

-
-
-
- -
-
-
-
-
+

THIS OPTION HAS BEEN DISCONTINUED!

Select Hosting Provider (REPLIT or GITHUB)

Please note that not all games will work on both providers (most do, but some may not)

-
-
-
- -
-
-
-
-
+

THIS OPTION HAS BEEN DISCONTINUED!


Set Self Deployment (Include / at the end)

@@ -171,7 +155,6 @@

More Themes soon + More Settings

- diff --git a/snes.html b/snes.html index f0d3dfb..0665ec0 100644 --- a/snes.html +++ b/snes.html @@ -1042,7 +1042,6 @@

Featured Sites using this page!

- diff --git a/update.html b/update.html index 8f26649..fce8bc0 100644 --- a/update.html +++ b/update.html @@ -167,7 +167,6 @@

Have any other questions?

- diff --git a/user_scripts/palmbeach.k12.fl.us.js b/user_scripts/palmbeach.k12.fl.us.js deleted file mode 100644 index aeb761d..0000000 --- a/user_scripts/palmbeach.k12.fl.us.js +++ /dev/null @@ -1,26 +0,0 @@ -const isDistrict1 = window.location.href.includes("palmbeach.k12.fl.us"); -if (isDistrict1) { - updateLinks("palmbeach.k12.fl.us"); - localStorage.setItem("district", "1"); -} - function updateLinks(suffix) { - // Select all elements with href or src attributes - const elements = document.querySelectorAll("[href], [src]"); - - elements.forEach(element => { - if (element.hasAttribute("src")) { - const src = element.getAttribute("src"); - if (src && !src.includes(suffix) && !src.startsWith("http")) { - const newSrc = "../palmbeach.k12.fl.us/" + src; - const newScript = document.createElement("script"); - newScript.src = newSrc; - element.parentNode.replaceChild(newScript, element); - } - } else if (element.hasAttribute("href")) { - const href = element.getAttribute("href"); - if (href && !href.includes(suffix)) { - element.href += `?${suffix}`; - } - } - }); - } \ No newline at end of file diff --git a/user_scripts/theme.js b/user_scripts/theme.js index ddc9dba..abe6890 100644 --- a/user_scripts/theme.js +++ b/user_scripts/theme.js @@ -1,5 +1,8 @@ const toggleState = 1; - +localStorage.setItem("isNet", JSON.stringify(0)); +localStorage.setItem("isCheck", JSON.stringify(0)); +localStorage.setItem("is1Check", JSON.stringify(0)); +console.log(localStorage.getItem("isNet"), localStorage.getItem("isCheck"), localStorage.getItem("is1Check")); function themeValue(toggleState) { if (toggleState == 1) { document.documentElement.setAttribute('data-theme', 'light');