![]() | 1 no1xsyzy 2020-08-07 10:06:13 +08:00 ![]() 当按钮出现时? 那只有 MutationObserver 了 |
![]() | 5 no1xsyzy 2020-08-07 10:30:38 +08:00 |
6 ochatokori 2020-08-07 10:33:59 +08:00 via Android 类选择器 |
![]() | 7 kuro1 2020-08-07 10:34:30 +08:00 $("body").bind('DOMNodeInserted', function(e) |
8 wlor 2020-08-07 10:42:18 +08:00 $("body").bind('DOMNodeInserted', (e) =>{ if ($(e.target).attr("class") === "option-item first-option") { $(e.target).click() $('body').unbind("DOMNodeInserted"); } }); |
![]() | 9 no1xsyzy 2020-08-07 11:16:09 +08:00 ![]() |
10 wlor 2020-08-07 11:34:39 +08:00 好的 学习了 |
![]() | 11 pluszone 2020-08-07 14:39:39 +08:00 document.querySelector('#xxxxxxx').click(); 可以用 setTimeout 写个延时 |
![]() | 12 yulihao OP #11 楼 正解 |