回答編集履歴
2
typo
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
return new Promise(resolve => {
|
15
15
|
setInterval(() => {
|
16
16
|
let target = document.querySelector("#items.ytd-mini-guide-renderer")
|
17
|
-
target.querySelectorAll("ytd-mini-guide-entry-renderer").length =
|
17
|
+
target.querySelectorAll("ytd-mini-guide-entry-renderer").length >= 4 && resolve(target)
|
18
18
|
}, 500)
|
19
19
|
})
|
20
20
|
}
|
1
実行結果の画像を追加
test
CHANGED
@@ -39,3 +39,6 @@
|
|
39
39
|
|
40
40
|
main()
|
41
41
|
```
|
42
|
+
|
43
|
+
実行結果:
|
44
|
+
![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2024-09-05/c70b12c5-8ae1-469f-8806-3d3de5b78865.png)
|