10 lines
173 B
JavaScript
10 lines
173 B
JavaScript
/* eslint-disable */
|
|
|
|
var parser = new UAParser()
|
|
|
|
var uaResult = parser.getResult()
|
|
|
|
if (uaResult.device.type === 'mobile') {
|
|
window.location.href = './is-mobile.html'
|
|
}
|