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
e84565918e
recording-comments: Exclude "Add release" page
...
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.
2021-08-22 23:27:26 +02:00
David Kellner
dda9dcb6c1
Make the 'Edit recording comments' button appear again
...
The script will now run after the page and all resources are loaded and
page scripts have run. This will be later than before and (hopefully)
after any React redraws which undid the DOM changes done by the script.
Tested and working with Violentmonkey under Firefox, for Tampermonkey
document-idle is the default value anyway.
See https://community.metabrainz.org/t/541943
2021-08-06 22:14:06 +02:00
David Kellner
fbdc28a6bf
Fix some old linter issues
2020-09-13 17:30:54 +02:00
David Kellner
616fe19d64
Replace Lodash by built-in ES6 methods
...
Lodash has been dropped from MBS and this breaks some userscripts
2020-09-13 17:30:54 +02:00
Aurélien Mino
0e864d8c59
Reformat with prettier 2.0
2020-04-05 16:02:07 +02:00
jesus2099
adac4e9213
New checkbox to “Make all edits votable.” like in all MBS edit pages
2019-05-10 11:19:59 +02: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
jesus2099
776a51bb25
@include are no longer required, when @match are there, in modern engines.
...
With @match, //*.musicbrainz.org means both //musicbrainz.org and all sub domains like //beta.musicbrainz.org.
2018-02-07 16:37:53 +01:00
jesus2099
6b237ee52b
Fixes the « _.pluck is not a function » issue as underscore.js has changed or something.
2018-02-07 16:37:30 +01:00
Frederik “Freso” S. Olesen
27edbeddc5
Merge in bitmap's userscripts
...
Merging from https://bitbucket.org/mwiencek/userscripts
Permission given at
https://chatlogs.metabrainz.org/brainzbot/musicbrainz/msg/3852183/
2017-03-10 19:57:54 +01:00
Frederik “Freso” S. Olesen
7c98f9d9c5
Add @descriptions based on README.md
2017-03-10 19:50:20 +01:00
Frederik “Freso” S. Olesen
bbed68d493
Move license into affected scripts
...
Preparation for merging the repository into
https://github.com/murdos/musicbrainz-userscripts
This retains the license blurb but also makes it one less file to juggle
for the merge commit.
2017-03-10 19:14:00 +01:00
jesus2099
af46f1f6ae
Fixed my own mistake again.
...
.find() should have been used instead of .children() but, as we had to
chain .find().filter(), using plain .querySelector() is more straightforward.
I should stop editing this script, I don’t know jQuery (enough).
2016-05-30 12:51:42 +02:00
jesus2099
41c60d5703
Fix regression after my previous “location” related commit, sorry:
...
> Avoiding the local reserved word “location” override.
> (452f3db217
)
2016-05-24 09:45:48 +02:00
jesus2099
452f3db217
Avoiding the local reserved word “location” override.
2016-05-19 14:23:22 +02:00
jesus2099
a8f043a8e5
Protection against other scripts that may add columns and/or links.
2016-05-19 14:06:47 +02:00
jesus2099
1a797ee87f
Did not show up in videoless mediums
...
when same release contains another medium with video
http://musicbrainz.org/release/7e32ae24-c691-49f9-a338-48c3ce69618b
2016-03-21 16:59:26 +01:00
jesus2099
f0e87eb647
a version pattern that can auto‐updates ok
2015-08-14 19:03:38 +02:00
Michael Wiencek
c9c868ef93
Merged in jesus2099/mwiencek_userscripts/display-bug-fix (pull request #16 )
2015-07-12 22:40:20 -05:00
jesus2099
b5c1099a31
FIXED: input field does not appear (at all if “Display Credits at Bottom” is on) at the right place on tracks with span.mp or span.name-variation in work relationships or other secondary rank nodeset
2015-07-10 14:26:55 +02:00
jesus2099
f436e1e152
- set all *visible* comments only
...
- submit *visible* comments only
- focus text field when it appears
2015-06-24 13:00:19 +02:00
jesus2099
9a654bec5b
Added HTTPS @downloadURL and @update@URL in metadata block to enable user script auto update in most greasmonkey engines.
2015-04-09 15:01:15 +02:00
Michael Wiencek
4cee38c8f8
Exclude release sub-paths
2015-04-07 14:27:49 -05:00
Michael Wiencek
02e78c9add
Fix for latest server update
2015-04-07 14:00:24 -05:00
Aurélien Mino
acc71cb95e
Fix location of editing form.
2015-02-14 23:30:30 +01:00
Aurélien Mino
64db3b57d1
Fix detection of tracks and recording links after 2015-02-09 server
...
release.
2015-02-14 20:30:25 +01:00
jesus2099
8ba9c2a424
writing or not writing @grant none in the metadata has the same result for Greasemonkey 2.0 ( http://wiki.greasespot.net/@grant ) but when it’s missing, Violentmonkey at least issues a warning
2014-11-11 16:27:43 +01:00
jesus2099
6fafa42430
<textarea> for edit note and wider recording comment text fields
...
textarea allows complete edit notes with new lines.
wider comments are especially useful for complete live comments.
2014-11-07 14:59:12 +01:00
Michael Wiencek
a599fae3c3
Use different namespace
2014-11-05 15:55:10 -06:00
Michael Wiencek
6492e2f5f3
Add set-recording-comments.user.js
2014-11-05 15:53:59 -06:00