Otherwise the script always loads the disambiguation comments for the
first tracks on the release, independent of the currently expanded medium.
This lead to wrong initial comments for /disc URLs.
Edit submission is already based on MBIDs, so there is no problem with that.
Since these are less likely to be used to speed up browsing (from an
artist page down to e.g. a specific recording on a release, skipping the
RG and release page) but for batch editing, it makes sense to open these
in new tabs by default.
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.
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.
This gives them more horizontal space instead of stuffing them into a
sub-column of a column. The additional margin is not necessary for
injected releases, only for release groups.
Reverting an undocumented change from 02f93f75ed
which (unintentionally?) abandoned the dedicated `track_tr` row.
The script causes a type error on this page which is unintentionally matched.
`@exclude *musicbrainz.org/release/add*` will also match possible query
parameters while `@exclude-match *://*.musicbrainz.org/release/add` is
cleaner but unfortunately not compatible with Greasemonkey.
mbsandbox.org doesn't seem to be online anymore.
Discogs has rolled out a new layout for release pages on 2021-08-09:
https://www.discogs.com/forum/thread/828514?page=3#8916061
This breaks the injection of the import button and MB links on release
pages, other pages (artist, label, master) are not affected so far.
With this commit, the following changes are made to fix#411 and #354:
- Update selectors for the sections which should be enhanced with MB links
- Separate working and broken selectors but keep all of them for now
- Find a new selector to inject the import button into the sidebar
(not sure why there were three alternative selectors previously)
- Duplicate some of Discogs' CSS to fix the layout because they seem to
use dynamically generated class names now :(