diff options
| author | s1nical <[email protected]> | 2019-08-23 05:34:50 -0700 |
|---|---|---|
| committer | s1nical <[email protected]> | 2019-08-23 05:34:50 -0700 |
| commit | 8b9a0ffdd26d41c07e42b0fcdace393ff638e072 (patch) | |
| tree | c046fccd084a39d606d33a64259d2bbf76393fc0 /konami | |
| parent | mobile redir to use useragrent instead screenwidth (diff) | |
| download | s1n.pw-admin-8b9a0ffdd26d41c07e42b0fcdace393ff638e072.tar.xz s1n.pw-admin-8b9a0ffdd26d41c07e42b0fcdace393ff638e072.zip | |
redo previous useragent back to screenwidth
Diffstat (limited to 'konami')
| -rw-r--r-- | konami/js/main.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/konami/js/main.js b/konami/js/main.js index 5cf2f46..9ffed54 100644 --- a/konami/js/main.js +++ b/konami/js/main.js @@ -19,19 +19,10 @@ function Scroll() { } Scroll(); -/* // CHECKS IF USER IS ON MOBILE if (screen.width <= 480) { location.href = '/mobile'; } -*/ - -// 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/'; -} // KONAMI CODE FOR TOASTY |