Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dajie111/nodeseek-userscript
/ setAddLogFunction
Function
setAddLogFunction
statistics.js:9–11 ·
view source on GitHub ↗
(func)
Source
from the content-addressed store, hash-verified
7
8
// 用于从外部设置 addLog 函数的引用
9
function
setAddLogFunction(func) {
10
_addLog = func;
11
}
12
13
// 获取页面主内容文本,排除日志和弹窗区域
14
function
getPageMainText() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected