1
no1xsyzy 2020 年 8 月 7 日 当按钮出现时?
那只有 MutationObserver 了 |
5
no1xsyzy 2020 年 8 月 7 日
|
6
ochatokori 2020 年 8 月 7 日 via Android
类选择器
|
7
kuro1 2020 年 8 月 7 日
$("body").bind('DOMNodeInserted', function(e)
|
8
wlor 2020 年 8 月 7 日
$("body").bind('DOMNodeInserted', (e) =>{
if ($(e.target).attr("class") === "option-item first-option") { $(e.target).click() $('body').unbind("DOMNodeInserted"); } }); |
9
no1xsyzy 2020 年 8 月 7 日 |
10
wlor 2020 年 8 月 7 日
好的 学习了
|
11
pluszone 2020 年 8 月 7 日
document.querySelector('#xxxxxxx').click();
可以用 setTimeout 写个延时 |
12
yulihao OP #11 楼
正解 |