Update index.html

This commit is contained in:
MattTheTekie 2024-10-19 16:53:15 -04:00 committed by GitHub
commit 33cb6028a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,9 @@
function isLegacyDevice() {
const userAgent = navigator.userAgent;
// Log the user agent for debugging
console.log("User Agent:", userAgent);
// List of legacy devices/browsers
const legacyDevices = [
/Nintendo DSi/i, // Match DSi