musicbrainz-scripts
musicbrainz-scripts copied to clipboard
Greasemonkey compatibility
trafficstars
The voice actor userscript does not work with GM because it requires access to the MB global. Also, the script still contains a few jQuery references which had also broken the punctuation userscript in GM.
I should replace all remaining usages of jQuery and create a utility function to access MB and check all existing scripts again to see if they are working with GM then.
- [x] Replace jQuery with native DOM utilities
- [ ] Provide save access to
MBand other global MBS variables (GM context)
No more jQuery in any of my userscripts as of today 🎉
This link from https://github.com/kellnerd/musicbrainz-scripts/issues/33#issuecomment-1373007877 might still be relevant here:
I should finally look into Sharing objects with page scripts