From 73b01bd52f87b09fa70382ba92c122be3b6fa174 Mon Sep 17 00:00:00 2001 From: agan <agan@yazhai.co> Date: Tue, 6 Dec 2022 19:27:16 +0800 Subject: [PATCH] 修改跳轉邏輯 --- b/download.html | 40 +++++++++++++++++++++++----------------- b/downloadIos.html | 45 ++++++++++++++++++++++++++------------------- index.html | 5 ++++- iosnew.html | 7 +++++-- 4 files changed, 58 insertions(+), 39 deletions(-) diff --git a/b/download.html b/b/download.html index 2347c81..a7108df 100644 --- a/b/download.html +++ b/b/download.html @@ -29,32 +29,38 @@ </script> <script> var ua = window.navigator.userAgent.toLowerCase(); + var nJumpArr = ['11134', '211120', '11151', '31186', '31192']; + var h5CidArr = ['H5BZBSX', 'H5BNFDYY', 'H5BABYH', 'H5BSSWA', 'H5BSSQ']; + var h5i = nJumpArr.indexOf(url_get_params().icid); + if ((/iphone|ipad|ipod/.test(ua)) && h5i > -1) { + window.location.href = "https://www.footseen.xyz?go=footseen&pmt=https://" + url_get_params().mrefer + '&h5Cid=' + h5CidArr[h5i]; + } // var nJumpArr = ['31184', '11134', '31179', '31183', '21144', '11125', '1116', '31147', '31186', '11159'] - if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { + // if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { // if (nJumpArr.indexOf(url_get_params().icid) > -1) { - if (url_get_params().icid != '31187') { - if (url_get_params().from != 'pc') { - window.location.href = "https://www.footseen.xyz?go=footseen&pmt=https://" + url_get_params().mrefer; - } else { - $.ajax({ - url: 'https://cpapi.footseen.xyz/activeLog/webActive', - data: { - activeType: 3, - pageID: 'pcDownload', + // if (url_get_params().icid != '31187') { + // if (url_get_params().from != 'pc') { + // window.location.href = "https://www.footseen.xyz?go=footseen&pmt=https://" + url_get_params().mrefer; + // } else { + // $.ajax({ + // url: 'https://cpapi.footseen.xyz/activeLog/webActive', + // data: { + // activeType: 3, + // pageID: 'pcDownload', - }, - success: function (data) { + // }, + // success: function (data) { - } - }) - } - } + // } + // }) + // } + // } // } else { // if (url_get_params().icid != '31187') { // window.location.href = "https://www.footseen.xyz?go=footseen"; // } // } - } + // } </script> <meta charset="UTF-8"> <meta name="renderer" content="webkit"> diff --git a/b/downloadIos.html b/b/downloadIos.html index cbf03c0..13fbd6f 100644 --- a/b/downloadIos.html +++ b/b/downloadIos.html @@ -3,8 +3,8 @@ <head lang="en"> <meta charset="UTF-8"> - <meta property="og:image" content="https://footseen.com/images/shareIcon.png"> - <meta property="og:description" content="百位美眉辣妹視訊Live尺度大, 免費加入觀看成人視訊,趕快來體驗吧! 免費與主播視訊互動體驗。24小時視訊直播不間斷。APP 下載直接玩!"> + <meta property="og:image" content="https://footseen.com/images/shareIcon.png"> + <meta property="og:description" content="百位美眉辣妹視訊Live尺度大, 免費加入觀看成人視訊,趕快來體驗吧! 免費與主播視訊互動體驗。24小時視訊直播不間斷。APP 下載直接玩!"> <title>Footseen - 超激情美女免費視訊-免費視訊手機直播</title> <script src="https://www.footseen.com/js/jquery-3.1.1.min.js"></script> <script src="../js/buriedPoint.js?v=202207211959"></script> @@ -27,32 +27,39 @@ </script> <script> var ua = window.navigator.userAgent.toLowerCase(); + var nJumpArr = ['11134', '211120', '11151', '31186', '31192']; + var h5CidArr = ['H5BZBSX', 'H5BNFDYY', 'H5BABYH', 'H5BSSWA', 'H5BSSQ']; + var h5i = nJumpArr.indexOf(url_get_params().icid); + if ((/iphone|ipad|ipod/.test(ua)) && h5i > -1) { + window.location.href = "https://www.footseen.xyz?go=footseen&pmt=https://" + url_get_params().mrefer + '&h5Cid=' + h5CidArr[h5i]; + } + // var nJumpArr = ['31184', '11134', '31179', '31183', '21144', '11125', '1116', '31147', '31186', '11159'] - if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { + // if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { // if (nJumpArr.indexOf(url_get_params().icid) > -1) { - if (url_get_params().icid != '31187') { - if (url_get_params().from != 'pc') { - window.location.href = "https://www.footseen.xyz?go=footseen&pmt=https://" + url_get_params().mrefer; - } else { - $.ajax({ - url: 'https://cpapi.footseen.xyz/activeLog/webActive', - data: { - activeType: 3, - pageID: 'pcDownload', + // if (url_get_params().icid != '31187') { + // if (url_get_params().from != 'pc') { + // window.location.href = "https://www.footseen.xyz?go=footseen&pmt=https://" + url_get_params().mrefer; + // } else { + // $.ajax({ + // url: 'https://cpapi.footseen.xyz/activeLog/webActive', + // data: { + // activeType: 3, + // pageID: 'pcDownload', - }, - success: function (data) { + // }, + // success: function (data) { - } - }) - } - } + // } + // }) + // } + // } // } else { // if (url_get_params().icid != '31187') { // window.location.href = "https://www.footseen.xyz?go=footseen"; // } // } - } + // } </script> <meta charset="UTF-8"> <meta name="renderer" content="webkit"> diff --git a/index.html b/index.html index 1c06eea..ead2071 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,10 @@ </script> <script> var ua = window.navigator.userAgent.toLowerCase(); - if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { + if (!((/android/.test(ua)))) { + if((/iphone|ipad|ipod/.test(ua))){ + window.location.href = 'https://www.footseen.xyz/mobile/index.html'; + } window.location.href = "https://www.footseen.xyz?go=footseen"; } </script> diff --git a/iosnew.html b/iosnew.html index 8f4d445..c2fe536 100644 --- a/iosnew.html +++ b/iosnew.html @@ -23,9 +23,12 @@ </script> <script> var ua = window.navigator.userAgent.toLowerCase(); - if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { + if (!((/android/.test(ua)))) { + if((/iphone|ipad|ipod/.test(ua))){ + window.location.href = 'https://www.footseen.xyz/mobile/index.html'; + } window.location.href = "https://www.footseen.xyz?go=footseen"; - } + } </script> <meta charset="UTF-8"> <meta name="renderer" content="webkit"> -- libgit2 0.25.0