(mutationsList, observer)
| 1625 | } |
| 1626 | |
| 1627 | const blockLive_content = (mutationsList, observer) => { |
| 1628 | for (const mutation of mutationsList) { |
| 1629 | for (const target of mutation.addedNodes) { |
| 1630 | if (target.classList.contains('.HotItem')) { |
| 1631 | block(); |
| 1632 | } |
| 1633 | } |
| 1634 | } |
| 1635 | } |
| 1636 | |
| 1637 | const observer = new MutationObserver(blockLive_content); |
| 1638 | observer.observe(document, { childList: true, subtree: true }); |