ua
This commit is contained in:
parent
a9730746ee
commit
9a698e333a
|
@ -381,7 +381,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function check() {
|
function check() {
|
||||||
return navigator.userAgent.toLowerCase().indexOf('mobile') > -1;
|
let ua = navigator.userAgent.toLowerCase();
|
||||||
|
return ua.indexOf('mobile') > -1 || ua.indexOf('phone');
|
||||||
}
|
}
|
||||||
|
|
||||||
function createTime() {
|
function createTime() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user