(node)
| 1841 | |
| 1842 | // read:处理 DOM 更新 |
| 1843 | function handleDOMUpdate(node) { |
| 1844 | // 如果数据存在则直接解析,否则发起网络请求 |
| 1845 | let cachedData = GM_getValue(url.host, undefined); |
| 1846 | cachedData ? parseDfs(node, cachedData) : throttleObserveDOM(); |
| 1847 | } |
| 1848 | |
| 1849 | // read:监听器配置 |
| 1850 | function observeDOM() { |
no test coverage detected