文章内容:
电子制造行业可能新增 450 万个就业岗位 1); var isIOS2 = ['iPad Simulator','iPhone Simulator','iPod Simulator','iPad','iPhone','iPod'].includes(navigator.platform) || (navigator.userAgent.includes("Mac") && "ontouchend" in document) var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); var isSafari2 = navigator.vendor && navigator.vendor.indexOf('Apple') > -1 && navigator.userAgent && navigator.userAgent.indexOf('CriOS') == -1 && navigator.userAgent.indexOf('FxiOS') == -1; return isIOS1 || isIOS2 || isSafari || isSafari2; } 如果 (window.isIOSBrowser()){ document.body.className += ' ios-device'; } ]]>
分类:
标签:
留言