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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X4uRGZZ4EpYHA4PNK3x5JY
This commit is contained in:
alexture 2026-09-20 16:50:01 +02:00
parent 5d822caf97
commit 0c98641f44
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ A Violentmonkey userscript that shows where else you can get a book while you're
## Install ## Install
1. Install [Violentmonkey](https://violentmonkey.github.io/) (Chrome, Firefox, Edge). 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. The script auto-updates itself from this repo (via `@updateURL`), so you don't need to reinstall it when it changes.

View file

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Book Links // @name Book Links
// @namespace http://tampermonkey.net/ // @namespace http://tampermonkey.net/
// @version 1.3 // @version 1.4
// @description Show Anna's Archive and Waterstones links when browsing books // @description Show Anna's Archive and Waterstones links when browsing books
// @license MIT // @license MIT
// @match https://bookshop.org/p/books/* // @match https://bookshop.org/p/books/*
@ -17,8 +17,8 @@
// @connect annas-archive.gl // @connect annas-archive.gl
// @connect www.waterstones.com // @connect www.waterstones.com
// @connect www.chez-mon-libraire.fr // @connect www.chez-mon-libraire.fr
// @updateURL 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://raw.githubusercontent.com/alexture/book-links/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_xmlhttpRequest
// @grant GM_getValue // @grant GM_getValue
// @grant GM_setValue // @grant GM_setValue