← Back to wkappbot-core
wkappbot-core ★★☆

# web open --keeplogin-Ns: login session keepalive

Keeps web login session alive using Web Worker timer (not throttled in background tabs). Injects URL after 60s user idle. --keeplogin is the ONLY option name (--idle removed).

user/developer

## Steps

1. --keeplogin-Ns / --keeplogin N / --keeplogin...
2. Injects JS Web Worker (blob URL) -- setInter...
3. Main thread tracks user events (mousemove/cl...
4. CDP polls window._kaIdleMs each tick -- if >...
5. Output: # KEEPALIVE url=... interval=Ns idle...
6. On inject: # LOGIN-KEEPALIVE url=... idle=Xs...
7. Blocks until Ctrl+C
8. Verified 2026-04-27: test-web-open-keeplogin...