Commit graph

43 commits

Author SHA1 Message Date
Kai
2d2f43211a mb_relationship_shortcuts.user.js: update and reduce jquery, minor improvements 2022-04-26 14:53:29 +02:00
David Kellner
1f2a5df0be mb_relationship_shortcuts: Exclude artists' recording overview pages
An MBS update brought a new column which shows the release groups each
recording is part of. While it's interesting to see these, the shortcut
icons for the RGs are not very appropriate as the page is about recordings.
2022-01-27 13:13:01 +01:00
David Kellner
bde76d9ee4 mb_relationship_shortcuts: Tweak display style of icons
Give the icons a bit of margin in all directions, this looks better if
there are many icons which float into the next line.
Remove the fixed width, this looks ugly for smaller viewports.
Often there are not even enough icons to justify such a wide column.
2022-01-27 13:13:01 +01:00
David Kellner
13f579a661 mb_relationship_shortcuts: Support "download for free" rels
Another relationship type which is possible e.g. for Bandcamp URLs.
2021-12-12 21:54:56 +01:00
David Kellner
a2ee0a3597 mb_relationship_shortcuts: Deduplicate rels by URL
Useful for websites like Bandcamp which have e.g. purchase and stream rels.
2021-12-12 21:54:56 +01:00
David Kellner
fba1e62c94 mb_relationship_shortcuts: Make icons of ended rels less visible 2021-12-12 21:54:56 +01:00
David Kellner
054f027f5b mb_relationship_shortcuts: Remove icons of deprecated rel types 2021-12-12 21:54:56 +01:00
David Kellner
3de18c75c5 mb_relationship_shortcuts: Add HDtracks icon 2021-12-12 21:54:56 +01:00
David Kellner
e55fb66d7e mb_relationship_shortcuts: Convert remaining icon URLs into classes 2021-12-12 21:54:56 +01:00
David Kellner
b23b9048a0 mb_relationship_shortcuts: Replace icon URLs by class names
MBS ships many favicons as CSS classes now, so there is no need to
duplicate their data URLs here. Custom icons are still stored as URLs.
2021-12-12 21:54:56 +01:00
David Kellner
b0dbc1e956 mb_relationship_shortcuts: Add streaming site icons
Shows icons for Apple Music, Bandcamp, Deezer, iTunes and Spotify so far.
2021-12-12 21:54:56 +01:00
David Kellner
7bfd4a8977 mb_relationship_shortcuts: Recover missing icons
Luckily the missing 'lyrics' and 'single from' icons were captured by
the Wayback Machine.
I have Base64 encoded them since the image files are tiny and most of
the other icons are already stored as data URIs.
2021-08-06 22:16:21 +02:00
David Kellner
20eb57409f mb_relationship_shortcuts: Fix more eslint errors 2021-08-06 22:16:21 +02:00
August Janse
dfc731479c
mb_relationship_shortcuts: Add vgmdb (#372)
Co-authored-by: August Janse <august.janse@arkivit.se>
2021-05-24 23:21:35 +02:00
Aurélien Mino
b4b9a1b31f
Update version 2021-03-08 09:25:48 +01:00
Christian Schendel
cba68f178d
Use base64 encoded images (#362)
* Use base64 encoded images

Musicbrainz removed the .png files that are linked in this script in favor of base64 encoded files.
This commit reflects this change
2021-03-08 09:24:47 +01:00
Aurélien Mino
08d8e0ea2f Fix format 2020-04-05 21:56:29 +02:00
David Kellner
94512ca33f mb_relationship_shortcuts: Fix eslint errors 2020-04-05 21:43:06 +02:00
David Kellner
879dcd7a59 mb_relationship_shortcuts: Fix width of subheaders 2020-04-05 21:43:06 +02:00
Aurélien Mino
0e864d8c59 Reformat with prettier 2.0 2020-04-05 16:02:07 +02:00
Aurélien Mino
385b74eb25 Bumps eslint from 5.9.0 to 6.8.0 2020-03-20 00:53:05 +01:00
Aurélien Mino
14a32dab62 Applied prettier and eslint tools on existing code
None of these changes are manual changes made a human
2018-11-20 23:18:49 +01:00
Laurent Monin
6c5c083dba
Change version format on all scripts
Related to https://github.com/murdos/musicbrainz-userscripts/pull/171
2018-02-18 18:16:45 +01:00
yvanzo
495619204c Bump version number without leading 0 in any part
as it blocked auto updates in Chrome at least.
2018-02-17 11:38:03 +01:00
yvanzo
b365af8cde Check target type in shorcut for relationships
Issue: `mb_relationship_shortcuts.user.js` triggers the following exception under certain circumstances:

````
TypeError
relationsIconsURLs[targettype] is undefined
````

This patch tests if the `targettype` is appropriate for relationships shortcut display.
2018-02-11 20:16:08 +01:00
Sotho Tal Ker
9bbd1ceb0b
Update mb_relationship_shortcuts.user.js
- Converted the display of other databases to a dictionary as suggested
2017-11-12 03:01:52 +01:00
Sotho Tal Ker
065fe600e5
Show me more
- added display of allmusic and rateyourmusic
- optimized conditionals
2017-11-12 02:02:26 +01:00
Sotho Tal Ker
686778616d
Display more relationships + minor changes
- remove unused logger, updated to latest jQuery without any noticeable breakage
- changed most of the favicons to load the copies stored on the MusicBrainz server
- updated the script so that a few "other databases" relationships are shown aswell; might be kludgy but better than not showing them at all
- fixed some minor code warnings
2017-11-11 02:28:11 +01:00
Laurent Monin
92b3933c0c
Bump mb_relationship_shortcuts script's version 2017-04-17 00:40:54 +02:00
LeoVerto
c037ecfc2c Set offset when requesting items for pages other than the first one 2017-04-16 22:07:25 +02:00
LeoVerto
b5bad0d18e Fix typo 2017-04-16 21:32:44 +02:00
LeoVerto
0631682d6e Fix #136: mb_relationship_shortcuts.user.js not handling GET parameters properly
If a release group or label URL included additional GET parameters, namely ?page=X when switching to another page, the script regex would not pick it up anymore.
2017-04-16 21:25:19 +02:00
Aurélien Mino
4b956605ab [relationship_shortcuts] Updated wikidata favicon. 2016-12-12 08:42:11 +01:00
Aurélien Mino
5e92db537a mb_relationships_shortcut: Updated Discogs favicon 2016-02-06 12:06:28 +01:00
Aurélien Mino
125afdd651 Bumped version and updated README for relationship shortcuts script. 2015-07-18 23:04:29 +02:00
Aurélien Mino
02e41630a5 [relationship_shortcuts] Use logger lib. 2015-07-18 23:02:27 +02:00
Aurélien Mino
c1eec66549 [relationship_shortcuts] Remove Windows EOL from code. 2015-07-18 22:59:15 +02:00
Aurélien Mino
5ca16c0591 [relationship_shortcuts] Fix indentation of code. 2015-07-18 22:55:09 +02:00
Aurélien Mino
c4d27b0e9e [relationship_shortcuts] Update jQuery and prevent jQuery conflict. 2015-07-18 22:52:53 +02:00
Aurélien Mino
68f091abdd [relationship_shortcuts] Fix broken icon URLs. 2015-07-18 22:50:09 +02:00
Aurélien Mino
2b3c848555 [relationship_shortcuts] Special icons are not embedded anymore 2015-07-18 22:48:34 +02:00
Aurélien Mino
70f04b1ebc [relationship_shortcuts] Update of script header. 2015-07-18 22:21:46 +02:00
Aurélien Mino
19baaac250 [relationship_shortcuts] Initial commit of my old userscript
"MusicBrainz Release-Group/Release URLs".
2015-07-18 22:09:07 +02:00