Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bandcamp_importer.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
// @namespace http://userscripts.org/users/22504
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/bandcamp_importer.user.js
// @updateURL https://raw.github.com/murdos/musicbrainz-userscripts/master/bandcamp_importer.user.js
// @include /^https:\/\/[^/]+\/(?:(?:(?:album|track))\/[^/]+|music)$/

Check warning on line 8 in bandcamp_importer.user.js

View workflow job for this annotation

GitHub Actions / lint checks

Using @include is potentially unsafe and may be obsolete in Manifest v3. Please switch to @match
// @include /^https:\/\/([^.]+)\.bandcamp\.com((?:\/(?:(?:album|track))\/[^/]+|\/|\/music)?)$/

Check warning on line 9 in bandcamp_importer.user.js

View workflow job for this annotation

GitHub Actions / lint checks

Using @include is potentially unsafe and may be obsolete in Manifest v3. Please switch to @match
// @include /^https:\/\/bandcamp\.com\/private\//

Check warning on line 10 in bandcamp_importer.user.js

View workflow job for this annotation

GitHub Actions / lint checks

Using @include is potentially unsafe and may be obsolete in Manifest v3. Please switch to @match
// @include /^https:\/\/([^.]+)\.bandcamp\.com\/private\//

Check warning on line 11 in bandcamp_importer.user.js

View workflow job for this annotation

GitHub Actions / lint checks

Using @include is potentially unsafe and may be obsolete in Manifest v3. Please switch to @match
// @include /^https?:\/\/web\.archive\.org\/web\/\d+\/https?:\/\/[^/]+(?:\/(?:album|track)\/[^/]+\/?|\/music\/?|\/?)$/

Check warning on line 12 in bandcamp_importer.user.js

View workflow job for this annotation

GitHub Actions / lint checks

Using @include is potentially unsafe and may be obsolete in Manifest v3. Please switch to @match
// @require lib/mbimport.js?version=v2026.05.30.1
// @require lib/logger.js
// @require lib/mblinks.js?version=v2026.05.31.1
Expand Down Expand Up @@ -778,7 +778,7 @@
};

mblinks.searchAndDisplayMbLink(cleanURL, 'artist', insertLinkCb, undefined, onSearchComplete);
mblinks.searchAndDisplayMbLink(cleanURL, 'label', insertLinkCb, undefined, onSearchComplete);
mblinks.searchAndDisplayMbLink(cleanURL, 'label', insertLinkCb, `label:${cleanURL}`, onSearchComplete);
}
}

Expand Down
Loading