Run the browser userscript on file:// pages too
It already matched every http and https page. Local files are labelled "file". The version bump makes installed copies update. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -162,7 +162,7 @@ The setup page has these steps with your URL filled in.
|
||||
3. From the Violentmonkey toolbar menu, choose **Set server and API key**. Enter `https://www.adam-french.co.uk/tracker` and the key.
|
||||
4. Other menu commands toggle full URLs (`attrs.url`, which also splits intervals per page) and page titles (`attrs.title`), set a regexp of hosts to ignore, change the idle timeout, and show the queue and last upload result.
|
||||
|
||||
Closed intervals are queued in the script's storage and uploaded every minute by one tab at a time. If a tab is closed or crashes mid-interval, another tab recovers its last checkpoint (at most 5s lost). The script can't see browser pages such as `about:`, `chrome://` or the new tab page, extension stores, or the built-in PDF viewer, so time there isn't recorded. The Hyprland agent still counts it as browser `app_focus`.
|
||||
Closed intervals are queued in the script's storage and uploaded every minute by one tab at a time. If a tab is closed or crashes mid-interval, another tab recovers its last checkpoint (at most 5s lost). It runs on every `http`/`https` page and on local `file://` pages, which are labelled `file` (in Chrome, enable **Allow access to file URLs** for Violentmonkey). It can't see browser pages such as `about:`, `chrome://` or the new tab page, extension stores, or the built-in PDF viewer, so time there isn't recorded. The Hyprland agent still counts it as browser `app_focus`.
|
||||
|
||||
## Apple Health
|
||||
|
||||
|
||||
Reference in New Issue
Block a user