blob: f36bbf1324e16849cefff02b28a7bf46e89e790d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$(document).mousemove(function (event) {
$('.torch').css({
'top': event.pageY,
'left': event.pageX
});
});
/*
// 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/';
}
|