Fix updateURL for forge migration, grant GM_info to dodge page CSP

Installed script stuck on stale GitHub updateURL after move to
git.alexsirac.com. @grant none also injects as page-context <script>,
which strict-CSP sites (e.g. Mastodon instances) block outright.
This commit is contained in:
alexture 2026-08-25 09:23:21 +02:00
parent cccef9e985
commit f380194386

View file

@ -1,13 +1,13 @@
// ==UserScript== // ==UserScript==
// @name event-creator // @name event-creator
// @namespace https://alexsirac.com // @namespace https://alexsirac.com
// @version 3.2 // @version 3.3
// @description Sélectionner du texte pour créer un événement ICS // @description Sélectionner du texte pour créer un événement ICS
// @license MIT // @license MIT
// @match *://*/* // @match *://*/*
// @updateURL https://raw.githubusercontent.com/alexture/event-creator/main/event-creator.user.js // @updateURL https://git.alexsirac.com/alex/event-creator/raw/branch/main/event-creator.user.js
// @downloadURL https://raw.githubusercontent.com/alexture/event-creator/main/event-creator.user.js // @downloadURL https://git.alexsirac.com/alex/event-creator/raw/branch/main/event-creator.user.js
// @grant none // @grant GM_info
// ==/UserScript== // ==/UserScript==
(function () { (function () {