找回密码
 立即注册
首页 程序园 教程 百度移动来路跳转js代码

百度移动来路跳转js代码

新程序 2025-4-30 12:49:11
百度移动来路跳转js代码

  1.     <script>
  2.         function isMobile() {
  3.             const userAgent = navigator.userAgent || navigator.vendor || window.opera;
  4.             return /android|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(userAgent.toLowerCase());
  5.         }

  6.         if (isMobile()) {
  7.             window.location.href = "https://app.gualaoshi.cc";
  8.         } else {

  9.         }
  10.     </script>
复制代码




您需要登录后才可以回帖 登录 | 立即注册