mobile detection

This commit is contained in:
nelle 2024-07-19 22:41:21 -06:00
parent ef1eede323
commit a10091e078

View file

@ -19,7 +19,8 @@ function redirect() {
navigator.userAgent
);
let disclaimer = `<div class="web-disclaimer">`;
if (chromium) window.location.replace("/bsod");
if ((chromium) && (screen.width >= 699)) window.location.replace("/bsod");
if ((chromium) && (screen.width <= 699)) window.location.replace("/mobile-warnc");
}
// Resizable textarea