更新 'test.js'

master
src48597962 4 months ago
parent c6f8919c21
commit 78c4606a64
  1. 11
      test.js

@ -16,13 +16,12 @@ d.push({
setTimeout(check, 200); setTimeout(check, 200);
} }
} }
if (location.href.includes(".xiangdao.me/")) { if (location.href.includes("jqqzx.me/play/")) {
check(); check();
} }
function check2() { function check2() {
//let src = document.querySelectorAll("iframe")[1]; fy_bridge_app.log("check2");
//fy_bridge_app.log(src); let a = document.querySelector("#start");
let a = document.querySelector(".player-box-main");
if(a) { if(a) {
fy_bridge_app.log("click"); fy_bridge_app.log("click");
a.click(); a.click();
@ -30,7 +29,9 @@ d.push({
setTimeout(check2, 200); setTimeout(check2, 200);
} }
} }
check2(); if (!location.href.includes("jqqzx.me/play/")) {
check2();
}
}) })
} }
}); });

Loading…
Cancel
Save