mirror of
https://notabug.org/SuperSaltyGamer/ame
synced 2026-01-15 17:42:55 -03:00
[musicbrainz] Make related links open in new tab
This commit is contained in:
10
dist/applemusic.user.js
vendored
10
dist/applemusic.user.js
vendored
File diff suppressed because one or more lines are too long
4
dist/musicbrainz.user.js
vendored
4
dist/musicbrainz.user.js
vendored
File diff suppressed because one or more lines are too long
@@ -25,5 +25,5 @@ function addSidebarElement(refSelector: string, index: number, icon: string, htm
|
||||
}
|
||||
|
||||
export function addReleaseSidebarButton(index: number, icon: string, title: string, link: string): HTMLElement {
|
||||
return addSidebarElement(".release-information", index, icon, `<a href="${link}">${title}</a>`);
|
||||
return addSidebarElement(".release-information", index, icon, `<a target="_blank" href="${link}">${title}</a>`);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @namespace ame-musicbrainz
|
||||
// @name Ame (MusicBrainz)
|
||||
// @version 1.6.2
|
||||
// @version 1.6.3
|
||||
// @author SuperSaltyGamer
|
||||
// @run-at document-end
|
||||
// @match https://musicbrainz.org/*
|
||||
|
||||
Reference in New Issue
Block a user