Hype Offline Monitor (track online status and offline time)

A lightweight Tumult Hype extension that keeps track of the browser’s connectivity state and the exact amount of time a visitor has been offline. The script exposes a handful of hypeDocument.customData variables—isOnline, isOffline, offlineStartTime, and granular offlineDuration* values—that update in real-time. Any Hype elements bound to those variables will automatically redraw the moment their values change; if you prefer manual control, call hypeDocument.trackOfflineTime() whenever you want a refresh.

2 Likes

Here is an example file using reactive content:

CleanShot2025-05-20at20.58.49-ezgif.com-crop

HypeOfflineMonitor.hype.zip (70,0 KB)

2 Likes