From 78c4606a64b97a9867a24a9c21c0ae89b3b1b948 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Mon, 21 Oct 2024 18:00:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'test.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test.js b/test.js index fd1f660a..8db7a2c4 100644 --- a/test.js +++ b/test.js @@ -16,13 +16,12 @@ d.push({ setTimeout(check, 200); } } - if (location.href.includes(".xiangdao.me/")) { + if (location.href.includes("jqqzx.me/play/")) { check(); } function check2() { - //let src = document.querySelectorAll("iframe")[1]; - //fy_bridge_app.log(src); - let a = document.querySelector(".player-box-main"); + fy_bridge_app.log("check2"); + let a = document.querySelector("#start"); if(a) { fy_bridge_app.log("click"); a.click(); @@ -30,7 +29,9 @@ d.push({ setTimeout(check2, 200); } } - check2(); + if (!location.href.includes("jqqzx.me/play/")) { + check2(); + } }) } });