Commit graph

1044 commits

Author SHA1 Message Date
jesus2099
b3f6758b2d Work-around for Tampermonkey match surprise behaviour
Tampermonkey takes the query string (not only path) in its path matching
2023-07-04 01:24:05 +02:00
jesus2099
66891fc01f Keep user-friendly display on narrower screens 2023-07-04 01:24:05 +02:00
jesus2099
b877d563ab Add edit note text area and make votable checkbox
Fixes #189

+ Append a script signature to the edit note
+ Clean-up downloadURL, includes and matches
2023-07-04 01:22:08 +02:00
David Logie
efca6fa621 mb_discids_detector: Bump version. 2023-06-25 09:57:01 +02:00
David Logie
8bfcdc69f6 mb_discids_detector: Fix artist/album detection on OPS again. 2023-06-25 09:57:01 +02:00
Luciano Paciornick
478ac7d1e2 Fix lint and formatting issues on existing code
I didn't change this part of the code, but since Prettier and ESLint decided to complain about it (and fix it on my local), might as well commit it. 😀
2023-04-24 00:03:15 +02:00
Luciano Paciornick
2b49a0faa6 Fix lint and formatting errors 2023-04-24 00:03:15 +02:00
Luciano Paciornick
7cb81736b3 Use CSS instead of JS for highlighting table rows
This improves performance significantly and reduces the incidence of bugs and undesireable side-effects when using this userscript in conjunction with other userscripts, userstyles and/or browser extensions that modify the look and feel of MB pages.
2023-04-24 00:03:15 +02:00
Luciano Paciornick
424b2c6937 Use HTTPS for retrieving top tracks from Last.fm 2023-04-24 00:03:15 +02:00
Luciano Paciornick
37178aab78 Add instructions for obtaining a Last.fm API key 2023-04-24 00:03:15 +02:00
Kai
a7139415ba SVG MB logo, more HTTPS + small changes 2023-03-02 21:52:02 +01:00
Ketan Arlulkar
a2c9d6c625 Using working website for a-tisket
Signed-off-by: Ketan Arlulkar <6256964+ketanarlulkar@users.noreply.github.com>
2023-03-02 21:48:01 +01:00
Jens
9b3d7c6a47
Fix for ISRC year highlighting. (#527)
* Update mb_ui_enhancements.user.js

Fix for ISRC year highlighting.
2023-03-02 21:47:17 +01:00
Bao Trinh
2cb8763139 deezer: wait for toolbar to appear 2023-02-21 06:39:50 +01:00
David Logie
6be127759f mb_discids_detector: Fix artist/album detection on OPS. 2023-01-20 12:46:08 +01:00
Mattia Schiano
b1da6eb48c Fixing toolbar query 2022-12-23 19:03:55 +01:00
David Kellner
d357764ee7 bandcamp_importer: Apply display style to all importer forms
Fixes a display regression introduced by 79d894538e.
2022-05-06 15:56:08 +02:00
Kai
2d2f43211a mb_relationship_shortcuts.user.js: update and reduce jquery, minor improvements 2022-04-26 14:53:29 +02:00
Kai
79d894538e bandcamp_importer.user.js: update and reduce jquery 2022-04-26 14:53:29 +02:00
Kai
6645a440f6 bandcamp_importer_helper.user.js & mbimportstyle.js: remove jquery 2022-04-26 14:53:29 +02:00
Kai
adcb23576e eslint: change from json to js and apply rules 2022-04-26 14:53:29 +02:00
dependabot[bot]
b9152b1b77 build(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 22:48:43 +02:00
David Kellner
cfbe1a5531 recording-comments: Fill input based on recording MBID instead of index
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.
2022-02-09 18:03:42 +01:00
jesus2099
41b34e57df
recording-comments: Delay script and match disc URL
* Delay script. Otherwise, React removes it.

* Enable script on disc URL (ulugabi workaround for big releases)
2022-02-03 18:45:49 +01:00
David Kellner
b91f40247d expand-rg: Open editing-related links in new tabs
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.
2022-01-27 13:14:45 +01:00
David Kellner
ada3d7fa99 expand-rg: Add direct link for 'add cover art' 2022-01-27 13:14:45 +01: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
821818cae1 hdtracks: Fix an old typo in a comment 2022-01-27 12:52:45 +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
9b70f1398c expand-rg: Remove unused function parameter 2021-12-12 21:51:05 +01:00
David Kellner
4232ee8fc0 expand-rg: Prefer for-of loops over index loops
The IIFE from the previous lines 197 to 225 is no longer necessary as we
are using scoped variables now (keyword let instead of var).
2021-12-12 21:51:05 +01:00
David Kellner
b9ae32964f expand-rg: Fix ESLint warnings 2021-12-12 21:51:05 +01:00
David Kellner
6272ceb076 expand-rg: Stretch tracklist tables to the full column width
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.
2021-12-12 21:51:05 +01:00
David Kellner
b6205abdb3 bandcamp_importer: Fix ESLint errors and bump version 2021-12-03 16:31:45 +01:00
Zane van Iperen
bab4ffa2e8 bandcamp_importer: handle IA'd pages
Fixes #322
2021-12-03 16:09:44 +01:00
David Logie
e0873b76e5 Bump version number. 2021-11-21 23:44:52 +01:00
David Logie
2354124615 Fix Juno Download importer.
The HTML changed a few weeks (months?) ago, breaking the importer. Make
it work again.
2021-11-21 23:44:52 +01:00
August Janse
252b00ea42 vgmdb_importer: Fix broken @include
Co-authored-by: David Kellner <52860029+kellnerd@users.noreply.github.com>
2021-11-13 15:48:29 +01:00
August Janse
5c60f99b6c vgmdb_importer: Fix websites bug 2021-11-13 15:48:29 +01:00
jesus2099
9fc80f796e Allow no labels or no urls without crashing the script
With @kellnerd's 1 improvement and 1 fix
2021-11-13 14:49:45 +01:00
jesus2099
493444057b Fix doc artist_credit.mbid (not artist_mbid) 2021-11-13 14:49:45 +01:00
David Kellner
6f67604260 hdtracks: Make the userscript run under Greasemonkey
GM has no direct access to the properties of the real `window`, call the
`addEventListener` method instead (which is also a cleaner solution).
2021-11-07 13:50:17 +01:00