Commit f537b0a8 by agan

修改规则

parent e73abb13
Showing with 17 additions and 3 deletions
...@@ -27,10 +27,24 @@ ...@@ -27,10 +27,24 @@
</script> </script>
<script> <script>
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
var nJumpArr = ['31184', '11134', '31179', '31183', '21144', '11125', '1116', '31147','31186','11159'] 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 (nJumpArr.indexOf(url_get_params().icid) > -1) {
if (url_get_params().from != 'pc') {
window.location.href = "https://www.footseen.xyz?go=footseen&pmt=" + url_get_params().mrefer;
} else {
$.ajax({
url: 'https://cpapi.footseen.xyz/activeLog/webActive',
data: {
activeType: 3,
pageID: 'pcDownload',
},
success: function (data) {
}
})
}
} else { } else {
window.location.href = "https://www.footseen.xyz?go=footseen"; window.location.href = "https://www.footseen.xyz?go=footseen";
} }
......
...@@ -25,10 +25,10 @@ ...@@ -25,10 +25,10 @@
</script> </script>
<script> <script>
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
var nJumpArr = ['31184', '11134', '31179', '31183', '21144', '11125', '1116', '31147','31186','11159'] 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 (nJumpArr.indexOf(url_get_params().icid) > -1) {
window.location.href = "https://www.footseen.xyz?go=footseen&pmt=" + url_get_params().mrefer;
} else { } else {
window.location.href = "https://www.footseen.xyz?go=footseen"; window.location.href = "https://www.footseen.xyz?go=footseen";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment