From 8b9a0ffdd26d41c07e42b0fcdace393ff638e072 Mon Sep 17 00:00:00 2001 From: s1nical Date: Fri, 23 Aug 2019 05:34:50 -0700 Subject: redo previous useragent back to screenwidth --- 404/js/main.js | 9 --------- 1 file changed, 9 deletions(-) (limited to '404') diff --git a/404/js/main.js b/404/js/main.js index f36bbf1..2f18f0d 100644 --- a/404/js/main.js +++ b/404/js/main.js @@ -5,16 +5,7 @@ $(document).mousemove(function (event) { }); }); -/* // CHECKS IF USER IS ON MOBILE if (screen.width <= 480) { location.href = '/404/alternate'; -} -*/ - -// THIS CHECKS WHAT OS THE USER IS ON -// This is a old variation so don't use this. -// Using it because this way you can use Chrome's "Request Desktop Site" feature. -if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) { - location.href = '/mobile/'; } \ No newline at end of file -- cgit v1.2.3