MCPcopy Index your code
hub / github.com/Bistutu/FluentRead / handleDOMUpdate

Function handleDOMUpdate

userscripts.js:1843–1847  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

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

Callers 1

userscripts.jsFile · 0.85

Calls 1

parseDfsFunction · 0.85

Tested by

no test coverage detected