Commit f537b0a8 by agan

修改规则

parent e73abb13
Showing with 18 additions and 4 deletions
......@@ -27,14 +27,28 @@
</script>
<script>
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 (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 {
window.location.href = "https://www.footseen.xyz?go=footseen";
}
}
}
</script>
<meta charset="UTF-8">
<meta name="renderer" content="webkit">
......
......@@ -25,10 +25,10 @@
</script>
<script>
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 (nJumpArr.indexOf(url_get_params().icid) > -1) {
window.location.href = "https://www.footseen.xyz?go=footseen&pmt=" + url_get_params().mrefer;
} else {
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