Skip to content

Managed Storage

stoically edited this page Nov 2, 2019 · 2 revisions

Preferences from the managed storage overwrite local preferences when the Add-on initializes. To add managed storage, create a file called {c607c8df-14a7-4f28-894f-29e8722976af}.json in one of the supported locations in the needed format. The data key must contain a full preferences export.

Example:

~/.mozilla/managed-storage/{c607c8df-14a7-4f28-894f-29e8722976af}.json

with content

{
  "name": "{c607c8df-14a7-4f28-894f-29e8722976af}",
  "description": "ignored",
  "type": "storage",
  "data":
  {
    "version": "1.4beta1",
    "date": 1572695327640,
    "preferences": {
      "automaticMode": {
        "active": true,
        "newTab": "created"
      },
      ...<rest of the export>...
    }
  }
}