Skip to content

[BUG] Out-of-space on Firefox user-profile drive breaks TamperMonkey, blocks Internet, wipes settings and userscripts #2645

@Synetech

Description

@Synetech

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

  1. Install TamperMonkey
  2. Configure some settings and install some userscripts
  3. 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)
  4. Note that webpages no longer load until TamperMonkey is disabled
  5. Restart Firefox
  6. 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. 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions