chore: fixes

This commit is contained in:
MattTheTekie 2026-04-23 18:52:38 -04:00
commit 074150247e
2 changed files with 0 additions and 20 deletions

View file

@ -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;
}
})();