I'm not sure if I just hit a handful of bugs at once, or if I'm just very tired and confused. Before reporting issues on GitHub, I decided to post the story here for comments and sleep on it...
I have two configurations on my Windows PC: A) Firefox 57 with GM4.0 B) Firefox 58beta4DevEd with GM4.1beta4 They should be completely independent installs with separate profile folders etc. Okay, they are both connected to the same Firefox account, and have been set up to sync Bookmarks and Logins. But besides that, independent. The story starts when I want to find out why https://github.com/murdos/musicbrainz-userscripts/blob/master/discogs_importer.user.js by Aurélien Mino fails running. I have it installed on my conf.A, where it was migrated from GM3. I see I get an error saying "jQuery is not defined" when running, and that neither jQuery nor any of the other require'd files is shown in tabs when opening Edit window in GM4. I try changing a few things in script code to trigger re-download of require'd files, but nothing changes. Okay, I thought. I just install it on my conf.B. But since the script is hosted on GitHub (https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/discogs_importer.user.js), I couldn't trigger normal installation process, so I started with a small template created with the new "New user script..." feature in GM4.1beta, and then copy/paste'd content of discogs_importer.user.js into the new script. I noticed the tab didn't change its name, but maybe it would run anyway? No, nothing happening when trying to run script (not even errors), and no require'd files showing up as tabs in Edit window either. Hmm, I close and re-open browser and notice the name of the script still hasn't been updated. And much to my surprise, when opening Edit window, only the 5-lines start-template is shown! The content I pasted into the editor is completely forgotten! I redo the whole procedure, thinking I must have forgotten to press Ctrl-S. But same result. Then I try editing the start-template manually (no pasting). Just changing the name. It works. The tab changes its name, and my change is remembered after close/reopen browser. Well, maybe it works if I paste the content of discogs_importer.user.js into it now? No, what I paste is completely ignored... For some reason I take a look at some of my own scripts. They are all working fine on both conf.A and conf.B, but I notice that the require'd sidekick files are not shown as tabs either in Edit-windows for these!?! And this is suddenly happening on both conf.A and conf.B! But my own scripts are still working fine in both configurations despite sidekick files not being shown in the editor!? STOP PRESS: Just before posting this, I do another check. Now I DO see the "sidekick" files on conf.A for _my own scripts_ but still _not_ for discogs_importer.user.js. On conf.B. I still don't see any sidekick files at all. My own scripts are still working in both places, discogs_importer.user.js still fails. And my attempts to paste discogs_importer.user.js into "New user script" template is still ignored... Maybe I'm just tired and will be embarrassed and think "silly me, boy I was confused" when I look at this again tomorrow? For now, I think I close down the PC for today... -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to greasemonkey-users+unsubscr...@googlegroups.com. To post to this group, send email to greasemonkey-users@googlegroups.com. Visit this group at https://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/d/optout.