html網(wǎng)頁判斷手機還是電腦登陸進入的方法
來源:懂視網(wǎng)
責(zé)編:小采
時間:2020-11-27 15:34:25
html網(wǎng)頁判斷手機還是電腦登陸進入的方法
html網(wǎng)頁判斷手機還是電腦登陸進入的方法:這篇文章詳解html網(wǎng)頁判斷手機還是電腦登陸進入的方法<script type="text/javascript"> try{ if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { window.location
導(dǎo)讀html網(wǎng)頁判斷手機還是電腦登陸進入的方法:這篇文章詳解html網(wǎng)頁判斷手機還是電腦登陸進入的方法<script type="text/javascript"> try{ if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { window.location
![](https://img.51dongshi.com/20210302/wz/90790952.jpg)
這篇文章詳解html網(wǎng)頁判斷手機還是電腦登陸進入的方法
<script type="text/javascript">
try{
if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
window.location.href="mindex.html";
}else{
window.location.href="cindex.html";
}
}catch(e){}
</script>
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
本文如未解决您的问题请添加抖音号:51dongshi(抖音搜索懂视),直接咨询即可。
html網(wǎng)頁判斷手機還是電腦登陸進入的方法
html網(wǎng)頁判斷手機還是電腦登陸進入的方法:這篇文章詳解html網(wǎng)頁判斷手機還是電腦登陸進入的方法<script type="text/javascript"> try{ if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { window.location
标签:福寿螺时间:2024-09-11 09:24:02
标签:深中通道通车时间:2024-07-01 11:16:29
标签:肺炎养臭水时间:2024-06-06 10:02:27