vzell
June 11, 2024, 9:01am
1
Is it possible to also display an icon on URLified events and labels in the annotation. As can be seen in the following screenshot
for example the event highlighted with " January 5 " and the label with " Godfather " do not get the corresponding MB icon, but artists, release groups and works do.
2 Likes
vzell
June 11, 2024, 10:59am
2
Also instruments shoud get their MB icon as can be seen ( piano in this case ) in the following screenshot
1 Like
chaban
June 11, 2024, 11:38am
3
These icons are added by a userscript:
// ==UserScript==
// @name mb. COOL ENTITY LINKS
// @version 2022.11.4
// @description musicbrainz.org: In some pages like edits, blog, forums, chatlogs, tickets, annotations, etc. it will prefix entity links with an icon, shorten and embelish all sorts of MB links (cdtoc, entities, tickets, bugs, edits, etc.).
// @namespace https://github.com/jesus2099/konami-command
// @supportURL https://github.com/jesus2099/konami-command/labels/mb_COOL-ENTITY-LINKS
// @downloadURL https://github.com/jesus2099/konami-command/raw/master/mb_COOL-ENTITY-LINKS.user.js
// @author jesus2099
// @licence CC-BY-NC-SA-4.0; https://creativecommons.org/licenses/by-nc-sa/4.0/
// @licence GPL-3.0-or-later; http://www.gnu.org/licenses/gpl-3.0.txt
// @since 2012-04-24; https://web.archive.org/web/20131104205641/userscripts.org/scripts/show/131731 / https://web.archive.org/web/20141011084006/userscripts-mirror.org/scripts/show/131731
// @icon data:image/gif;base64,R0lGODlhEAAQAKEDAP+/3/9/vwAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh/glqZXN1czIwOTkAIfkEAQACAwAsAAAAABAAEAAAAkCcL5nHlgFiWE3AiMFkNnvBed42CCJgmlsnplhyonIEZ8ElQY8U66X+oZF2ogkIYcFpKI6b4uls3pyKqfGJzRYAACH5BAEIAAMALAgABQAFAAMAAAIFhI8ioAUAIfkEAQgAAwAsCAAGAAUAAgAAAgSEDHgFADs=
// @require https://github.com/jesus2099/konami-command/raw/de88f870c0e6c633e02f32695e32c4f50329fc3e/lib/SUPER.js?version=2022.3.24.224
// @grant none
// @match *://*.musicbrainz.org/*
// @match *://blog.metabrainz.org/*
// @match *://chatlogs.metabrainz.org/libera/*
// @match *://tickets.metabrainz.org/browse/*
// @match *://web.archive.org/web/*/bugs.musicbrainz.org/ticket/*
// @match *://web.archive.org/web/*/chatlogs.musicbrainz.org/*
This file has been truncated. show original
@jesus2099
4 Likes
vzell
June 11, 2024, 11:43am
4
Ah … thx … never noticed … lets see what @jesus2099 can do about it
1 Like
vzell
June 11, 2024, 12:05pm
5
“Label” was actually my fault … I used “labels” instead of “label” in the URLs.
1 Like
So what’s missing?
Apparently Events and Instruments…
vzell
June 11, 2024, 2:42pm
7
Yes … That should be IT…
vzell
June 13, 2024, 11:00am
9
@jesus2099 … thx for the quick fix … events and intruments now have their MB icon.
But I just found out that Musicbrainz “area” is also missing. And while you’re at it, is it possible to also display the wikipedia icon for “Wikipedia” links. I use them a lot in my annotations.
Thanks for consideration …
1 Like
I’m afraid of opening the Pandora’s box with a first non-MB link (Wikipedia)…
I have added a ticket for area .
1 Like
vzell
June 13, 2024, 8:51pm
11
Thx for the area ticket… and forget about the wikipedia link
1 Like
Area, event and instrument URL support was added!
2 Likes