From 74f40ed5a591a26fece213fb8d84f58395279f8f Mon Sep 17 00:00:00 2001 From: agan <agan@yazhai.co> Date: Fri, 16 Sep 2022 17:31:13 +0800 Subject: [PATCH] 添加特殊cid --- b/download.html | 4 ++-- b/downloadIos.html | 27 ++++++++++++++------------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/b/download.html b/b/download.html index 7505dfd..51383a8 100644 --- a/b/download.html +++ b/b/download.html @@ -27,9 +27,9 @@ </script> <script> var ua = window.navigator.userAgent.toLowerCase(); - + var nJumpArr = [31184, 11134, 31179, 31183, 21144, 11125, 1116, 31147] if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { - if (url_get_params().icid == 31184 || url_get_params().icid == 11134) { + if (nJumpArr.indexOf(url_get_params().icid) > 0) { } else { window.location.href = "https://www.footseen.xyz?go=footseen"; diff --git a/b/downloadIos.html b/b/downloadIos.html index 5ce538b..202637d 100644 --- a/b/downloadIos.html +++ b/b/downloadIos.html @@ -25,8 +25,9 @@ </script> <script> var ua = window.navigator.userAgent.toLowerCase(); + var nJumpArr = [31184, 11134, 31179, 31183, 21144, 11125, 1116, 31147] if (!((/iphone|ipad|ipod/.test(ua)) || (/android/.test(ua)))) { - if (url_get_params().icid == 31184 || url_get_params().icid == 11134) { + if (nJumpArr.indexOf(url_get_params().icid) > 0) { } else { window.location.href = "https://www.footseen.xyz?go=footseen"; @@ -64,7 +65,7 @@ <p data-lang="1">English</p> <p data-lang="7">العربية</p> </div> - + <a class="topUp"></a> <div id="box" class="page curpage"> <div class="page0 p"> @@ -85,14 +86,14 @@ <div class="videoCon"> <video id="video" webkit-playsinline="true" x-webkit-airplay="true" playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="true" - style="width: 100%;height: 100%;object-fit: fill;z-index: -1;" autoplay="autoplay" muted="false" - loop="loop"> + style="width: 100%;height: 100%;object-fit: fill;z-index: -1;" autoplay="autoplay" + muted="false" loop="loop"> <source src="https://footseen.com/video/video.mp4" type="video/mp4"> </source> </video> </div> </div> - + <div class="btnPage2 heartbeat"></div> <div class="bubbles"> <div class="bubble1"></div> @@ -141,7 +142,7 @@ } touchB = false; curp++; - + if (curp == 2) { $('.wipeUp').hide(); $('.downloadBtn2').show(); @@ -165,7 +166,7 @@ } touchB = false; curp--; - + if (curp == 2) { $('.wipeUp').hide(); $('.downloadBtn2').show(); @@ -203,9 +204,9 @@ } getChannel(function (data) { - if(data){ + if (data) { $(".iosDown,.downloadBtn2,.btnPage2").attr('data-clipboard-text', data.iOSChannel) - }else{ + } else { $(".iosDown,.downloadBtn2,.btnPage2").attr('data-clipboard-text', iosData) } }); @@ -228,11 +229,11 @@ $('.topUp').on('click', function () { window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang=' + sessionStorage.lang + '&gofrom=web' + '&gofrom=web&cidStr=h5_footseengw'; }) - $('.voiceBtn').on('click', function(){ - if($(this).hasClass('muted')){ + $('.voiceBtn').on('click', function () { + if ($(this).hasClass('muted')) { $('#video')[0].muted = false; $(this).removeClass('muted') - }else{ + } else { $('#video')[0].muted = true; $(this).addClass('muted') } @@ -323,4 +324,4 @@ </script> </body> -</html> +</html> \ No newline at end of file -- libgit2 0.25.0