Update index.html
This commit is contained in:
parent
66f654a5f3
commit
33cb6028a6
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue