With the new update to Firefox 57 and Greasemonkey 4.0 it seems that the gm_scripts
folder is no longer where the user.js scripts are stored.
Where are the scripts stored now?
Any suggestions for keeping these scripts in git?
With the new update to Firefox 57 and Greasemonkey 4.0 it seems that the gm_scripts
folder is no longer where the user.js scripts are stored.
Where are the scripts stored now?
Any suggestions for keeping these scripts in git?
Copyright © 2021 Jogjafile Inc.
WebExtension API does not allow local file access so add-ons store data in their own storage area as an IndexDB at
C:\Users\[Username]\AppData\Roaming\Mozilla\Firefox\Profiles\[Random].default\storage\default\moz-extension+++80728271-a923-4e37-a81d-68452721034c
The negative issues are:
You cant manually edit them with your own editor and you have to use the GM interface to edit them.
If you uninstal GM, all script will be gone and reinstalling GM wont bring them back.
At the moment GM doesn't have an Import (to manually load scripts) or Export (to create backups). Although you can export all scripts by copying the folder above.
You can copy scripts to Git and GM will (there are issues now) be able to get them from Git.
The gm_scripts folder should still be in the Firefox profile folder. GM4 doesn't delete it but it wont be able to use it.