Files
scripts/meta.js
Chatter 74d8efb1a8 Reclaim stale script lock after crash (v1.3.1)
The single-tab lock was only released in beforeunload, so a browser
crash or power-cut left the localStorage key behind and the script
exited on every subsequent load until site data was cleared.

Treat a lock not refreshed within 90s as dead and take it over, and
add a 30s heartbeat so a live instance keeps its lock fresh.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 11:48:20 -04:00

13 lines
475 B
JavaScript

// ==UserScript==
// @name cams
// @namespace http://tampermonkey.net/
// @version 1.3.1
// @description Set maxDockedCamsForUser, keep-alive, and multi-poke
// @author You
// @match https://chat.fabswingers.com/*
// @updateURL https://git.upto.im/geekery/scripts/raw/branch/main/meta.js
// @downloadURL https://git.upto.im/geekery/scripts/raw/branch/main/cams.user.js
// @grant none
// @run-at document-idle
// ==/UserScript==