diff --git a/index.html b/index.html index 1961002..d7601f2 100644 --- a/index.html +++ b/index.html @@ -527,6 +527,5 @@ With the recent trend of internet censorship I have been thinking about alternat - diff --git a/javascript/legacy-check.js b/javascript/legacy-check.js deleted file mode 100644 index 3dd41e3..0000000 --- a/javascript/legacy-check.js +++ /dev/null @@ -1,19 +0,0 @@ -// dsi-3ds-redirect.js - -(function () { - const legacyURL = "http://www.veltron.net/legacy.html"; - - // Detect Nintendo DSi / 3DS browsers - const ua = navigator.userAgent || ""; - - const isDSiOr3DS = - ua.includes("Nintendo DSi") || - ua.includes("Nintendo 3DS"); - - const isAlreadyLegacy = window.location.href === legacyURL; - - // Redirect if on DSi/3DS and not already on the legacy page - if (isDSiOr3DS && !isAlreadyLegacy) { - window.location.href = legacyURL; - } -})();