Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想自动点击网站上的这个链接。
<a href="/wall/withdraw.php?processor=ppp">Withdraw</a>
谢谢!
你可以开火它的click()方法。
click()
<a href="/wallet/withdraw.php?processor=ppp" id="foo">Withdraw</a> document.getElementById("foo").click();
你需要一些方法来选择元素,我给了它一个 ID 并使用getElementById()
getElementById()