新版文件
Former-commit-id: f8cb004bc9c5fe881993aec4bc46f696bbc5a2c8
This commit is contained in:
Vendored
+9
File diff suppressed because one or more lines are too long
@@ -0,0 +1,9 @@
|
||||
/* eslint-disable */
|
||||
|
||||
var parser = new UAParser()
|
||||
|
||||
var uaResult = parser.getResult()
|
||||
|
||||
if (uaResult.device.type === 'mobile') {
|
||||
window.location.href = './is-mobile.html'
|
||||
}
|
||||
Reference in New Issue
Block a user