|
|
@ -7,12 +7,15 @@ d.push({ |
|
|
|
pic_url: "", |
|
|
|
pic_url: "", |
|
|
|
extra: { |
|
|
|
extra: { |
|
|
|
js: $.toString(() => { |
|
|
|
js: $.toString(() => { |
|
|
|
fy_bridge_app.log(location.href); |
|
|
|
//fy_bridge_app.log(location.href);
|
|
|
|
function check() { |
|
|
|
function check() { |
|
|
|
fy_bridge_app.log("check"); |
|
|
|
fy_bridge_app.log("check"); |
|
|
|
let src = document.querySelectorAll("iframe")[1]; |
|
|
|
let iframes = document.querySelectorAll("iframe"); |
|
|
|
if (src) { |
|
|
|
for(var i = 0; i < iframes.length; i++) { |
|
|
|
location.href = src.src; |
|
|
|
fy_bridge_app.log(iframes[i].src); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (iframes[1]) { |
|
|
|
|
|
|
|
location.href = iframes.src; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
setTimeout(check, 200); |
|
|
|
setTimeout(check, 200); |
|
|
|
} |
|
|
|
} |
|
|
|