recording-comments: Run when tport (or other) query parameters are present

Fixes #563.

Co-authored-by: David Kellner <52860029+kellnerd@users.noreply.github.com>
This commit is contained in:
Erik Levin 2024-06-18 08:18:35 +02:00 committed by GitHub
parent fac211eb5c
commit 8bf2b04b6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,13 +1,13 @@
// ==UserScript== // ==UserScript==
// @name MusicBrainz: Set recording comments for a release // @name MusicBrainz: Set recording comments for a release
// @description Batch set recording comments from a Release page. // @description Batch set recording comments from a Release page.
// @version 2022.2.8.1 // @version 2024.6.18.1
// @author Michael Wiencek // @author Michael Wiencek
// @license X11 // @license X11
// @namespace 790382e7-8714-47a7-bfbd-528d0caa2333 // @namespace 790382e7-8714-47a7-bfbd-528d0caa2333
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/set-recording-comments.user.js // @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/set-recording-comments.user.js
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/set-recording-comments.user.js // @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/set-recording-comments.user.js
// @include /^https?:\/\/(\w+\.)?musicbrainz\.org\/release\/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(\/disc\/\d+|$)/ // @include /^https?:\/\/(\w+\.)?musicbrainz\.org\/release\/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(\/disc\/\d+|(\?.+?)?$)/
// @grant none // @grant none
// @run-at document-idle // @run-at document-idle
// ==/UserScript== // ==/UserScript==