Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dajie111/nodeseek-userscript
/ setupMultiWindow
Method
setupMultiWindow
Clockin.js:46–50 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
44
45
// 多窗口协调机制
46
setupMultiWindow() {
47
this.electMaster();
48
this.startHeartbeat();
49
this.listenStorageChanges();
50
}
51
52
// 竞选主窗口
53
electMaster() {
Callers
1
init
Method · 0.95
Calls
3
electMaster
Method · 0.95
startHeartbeat
Method · 0.95
listenStorageChanges
Method · 0.95
Tested by
no test coverage detected