Actual Behavior
If the drive where the Firefox user-profile is located runs out of disk-space, TamperMonkey stops working and blocks Firefox's Internet activity until it is disabled. Upon restarting the browser, TamperMonkey is reset to factory-settings and all settings and userscripts are lost.
Expected Behavior
TamperMonkey should continue to work even if disk-space runs out.
Steps to reproduce the issue
- Install TamperMonkey
- Configure some settings and install some userscripts
- Use up remaining disk-space on the drive where the Firefox user-profile is located (start Firefox with "-no-remote -profile <*:\firefoxuser>" to relocate somewhere else for testing convenience)
- Note that webpages no longer load until TamperMonkey is disabled
- Restart Firefox
- Note that TamperMonkey is reset to factory-defaults, settings and userscripts are gone
Environment (please complete the following information)
- Browser and Version: Firefox all versions
- Tampermonkey version: TamperMonkey all versions (including 5.4.1)
- Operating System and Version: Windows all versions
Additional context
It would appear that TamperMonkey is writing to the browser's localstorage for some reason even when nothing is changing, and when disk-space is low, it corrupts the database. 🤔