Commit 02fb4ef3 by agan

修改

parent ca87084f
Showing with 2 additions and 2 deletions
......@@ -29,7 +29,7 @@
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 (nJumpArr.indexOf(url_get_params().icid) > 0) {
if (nJumpArr.indexOf(url_get_params().icid) > -1) {
} else {
window.location.href = "https://www.footseen.xyz?go=footseen";
......
......@@ -27,7 +27,7 @@
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 (nJumpArr.indexOf(url_get_params().icid) > 0) {
if (nJumpArr.indexOf(url_get_params().icid) > -1) {
} 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