From 0c98641f444920d797ff6f0684d0f1943aa0e493 Mon Sep 17 00:00:00 2001 From: alexture Date: Sun, 20 Sep 2026 16:50:01 +0200 Subject: [PATCH] Point updateURL/downloadURL at the Forgejo raw file The GitHub mirror is stale (1.1), so installed copies never saw newer versions. Serve updates from origin instead and bump to 1.4. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01X4uRGZZ4EpYHA4PNK3x5JY --- README.md | 2 +- book-links.user.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4689209..c730f83 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A Violentmonkey userscript that shows where else you can get a book while you're ## Install 1. Install [Violentmonkey](https://violentmonkey.github.io/) (Chrome, Firefox, Edge). -2. Install the script from the raw file: [book-links.user.js](https://raw.githubusercontent.com/alexture/book-links/main/book-links.user.js) — Violentmonkey will prompt to install it. +2. Install the script from the raw file: [book-links.user.js](https://git.alexsirac.com/alex/book-links/raw/branch/main/book-links.user.js) — Violentmonkey will prompt to install it. The script auto-updates itself from this repo (via `@updateURL`), so you don't need to reinstall it when it changes. diff --git a/book-links.user.js b/book-links.user.js index e686c6c..765bdbf 100644 --- a/book-links.user.js +++ b/book-links.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Book Links // @namespace http://tampermonkey.net/ -// @version 1.3 +// @version 1.4 // @description Show Anna's Archive and Waterstones links when browsing books // @license MIT // @match https://bookshop.org/p/books/* @@ -17,8 +17,8 @@ // @connect annas-archive.gl // @connect www.waterstones.com // @connect www.chez-mon-libraire.fr -// @updateURL https://raw.githubusercontent.com/alexture/book-links/main/book-links.user.js -// @downloadURL https://raw.githubusercontent.com/alexture/book-links/main/book-links.user.js +// @updateURL https://git.alexsirac.com/alex/book-links/raw/branch/main/book-links.user.js +// @downloadURL https://git.alexsirac.com/alex/book-links/raw/branch/main/book-links.user.js // @grant GM_xmlhttpRequest // @grant GM_getValue // @grant GM_setValue