New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'No User Scripts Installed!' after FF and GM4 update #2668
Comments
Same issue; "No user scripts installed!". Today I updated to Firefox 57.0 build 20171112125346 (latest). and updated GM to 4.0 (after following the official builds). My gm_scripts folder is full of userscript I previously installed and used. |
I have an assumption why this happened: The migration from files to IndexedDB was run once. All changes to scripts after the migration were not saved properly. All of the scripts I had updated prior to the GM and FF update now have the old status again. So I need to update all of them again ... So my assumption for your case would be that during the migration there was no script copied and as there was no update to the IndexedDB afterwards, it still seems like no script is installed. |
I'm having a difficult time responding because there is such a mix of various unrelated things mentioned here. I'm going to A) Suggest that if you have no scripts installed anyway: uninstall GM completely, restart Firefox, reinstall GM, and try again. (I'm guessing that something about the 3.x -> 4.0 migration didn't work well. If you're not on Firefox 57 yet, including an "install 3.17" between the uninstall/reinstall steps above might help. Or just leaving the fresh/empty reinstall and starting over?) |
Instead of closing this issue, is there any information that i can deliver? I have the exact same environment at work and updating there worked, resulting in all my userscripts being activated in GM. On my personal environment no userscripts at all are converted (or at least visually activated)! Isn't there an offline tool or steps of action to convert the "old" userscripts in the gm_scripts folder to the new way of storing? Windows 10 Pro |
I can confirm my FF profile folder still contains scripts from before the GM update. I can at least copy them elsewhere for safe keeping.
I currently have FF 57.0. The UI changed that day, so the FF and GM updates likely coincided. |
I tried removing the GM extension, restarting FF, adding GM, and installing another bare "hello world" script (hosted with CivetWeb on localhost). The "Web Console" says the same stuff as before. GM menu still says "No user scripts installed!" The "Browser Console" popup says this...
Migration certainly didn't take place. |
https://wiki.greasespot.net/Troubleshooting_(Users) Try a fresh profile. Does that change anything? |
I have the same problem ("No user scripts installed!") but only when I use firefox in private mode, i.e. I run |
|
Aha! Thanks for the bug link! It seems to confirm my observations. It's a long reading, but there are several pointers there, including a "status-firefox59: --- → affected" that is not very encouraging... However, I have tried setting the 'Firefox will Remember history' option in private browsing and restarted, and still the problem persists, whereas having an aggressive custom cookie settings in non-private browsing does not show the reported problem. This suggests me that either the issue is not related just with that specific set of options, or it is related with something else altogether, apparently related to the private browsing mode. |
Since @arantius already closed this issue with this comment:
Should this be reopened or should a new issue be created? |
@ocumo I changed it to "Remember history", restarted FF, hosted HelloWorld.user.js via CivetWeb, and installed. This time it worked. I didn't see a success screen, just returned to the directory listing. But that script now appears in the menu. The scripts I had prior to the upgrade did not reappear when I changed the setting, so they were omitted from migration not merely hidden. Installing one of those non-HelloWorld scripts was successful as well. |
Hmm, reappearing scripts wouldn't have been a possibility for me. I had removed & reinstalled GM in my previous round of troubleshooting, so stored data, if any, would've been erased, I think. The scripts I've just installed DO get hidden now when I toggle back and forth between "Remember History" and "Never Remember History" as one might expect. |
No. I think files are still left in the extension directory. Greasemonkey just doesn't list them. Try going to your Firefox profile and poking around. |
Yes, the gm_scripts directory survived the extension removal, and that is worth noting. I meant any inside-the-browser storage, which migration was supposed to populate, was probably erased. That's what happens IIRC when removing an extension in Chrome. In any case, that I had "Never Remember History" set when migration occurred meant the extension couldn't have populated IndexedDB for me anyway. |
I can confirm that the installed scripts reappear when changing the history option from "Never Remember History" to "Remember History". |
You just need to authorize this moz-extension in your cookies.
Second solution:
|
@robbyone |
Unfortunately, none of the above workarounds, including setting an Extension cookie exception have any effect if you are using Private Browsing Mode (PBM). When you are in PBM, whatever cookie exceptions you set are lost when you close the last PBM window, and when you open again firefox in PBM, your exceptions list will be empty. Also, in PBM, Greasemonkey is still broken no matter what cookie/history settings you set, no matter how restrictive or how relaxed it might be. In simple words: Greasemonkey is broken in Private Browsing ("incognito") mode. |
IndexedDB doesn't work in private browsing mode. It's in some Bugzilla somewhere. So while Greasemonkey could use another storage mechanism (though IndexedDB really should be what it uses), this is more of a Mozilla not fixing their stuff before forcing WebExtensions on us. |
I had a few user scripts installed, including one I had installed locally via dragging onto "Manage User Scripts". FireFox updated today, and a tab announced GreaseMonkey 4.
Now, all my scripts are gone. ("No User Scripts Installed!")
I can't install a local file directly ( Issue #2612 ).
Running CivetWeb to serve my script on localhost, I could click the file in a directory listing, to reach the description/cancel/install screen. The install button counts down, but clicking it does nothing other than return to the server's directory listing.
The install screen's console only prints this.
This happens even when the script is just a bare header.
Occasionally, the install button randomly results in a success screen, and the console reports that scripts cannot close a page it didn't open, but I still see "No User Scripts Installed!" in GreaseMonkey's dropdown menu.
I also noticed that as I edited the script's @include and tried again, the install screen didn't update its info. The console's undeclared encoding nag provided a link to the script, so clicking that let me see the cached javascript in a new tab. Reloading that tab let GreaseMonkey see the changes I'd made the next time I tried to install.
The text was updated successfully, but these errors were encountered: