Commit ca87084f by agan

添加特殊cid

parent 74f40ed5
Showing with 3 additions and 3 deletions
...@@ -27,14 +27,14 @@ ...@@ -27,14 +27,14 @@
</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] var nJumpArr = ['31184', '11134', '31179', '31183', '21144', '11125', '1116', '31147']
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) > 0) { if (nJumpArr.indexOf(url_get_params().icid) > 0) {
} else { } else {
window.location.href = "https://www.footseen.xyz?go=footseen"; window.location.href = "https://www.footseen.xyz?go=footseen";
} }
} }
</script> </script>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="renderer" content="webkit"> <meta name="renderer" content="webkit">
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</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] var nJumpArr = ['31184', '11134', '31179', '31183', '21144', '11125', '1116', '31147']
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) > 0) { if (nJumpArr.indexOf(url_get_params().icid) > 0) {
......
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