Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

When I added new themes the old themes disappear, why?

  • 1 réponse
  • 1 a ce problème
  • 16 vues
  • Dernière réponse par cor-el

more options

I have had themes disappear when adding new themes. I counted the number of themes and counted (including the default one) 31 themes. Is 30 the maximum additional themes you can add? Can I increase this number? Are the deleted themes stored somewhere?

I have had themes disappear when adding new themes. I counted the number of themes and counted (including the default one) 31 themes. Is 30 the maximum additional themes you can add? Can I increase this number? Are the deleted themes stored somewhere?

Toutes les réponses (1)

more options

Firefox stores data of a maximum number of Personas (DEFAULT_MAX_USED_THEMES_COUNT=30)

If you install more Personas then Firefox will remove other Personas to make room for the new Persona, so it is best to keep a list or bookmark the site of your favorite Personas.

You can override this maximum by creating an Integer pref with the name lightweightThemes.maxUsedThemes and set its value accordingly.

The data of all installed Personas and its background color and text color are stored in the lightweightThemes.usedThemes pref in JSON object format ({"id":"#","name":"xxx",...}). The first entry of this pref is the currently selected Persona.


  • resource://gre/modules/LightweightThemeManager.jsm
const DEFAULT_MAX_USED_THEMES_COUNT = 30;

this.__defineGetter__("_maxUsedThemes", function maxUsedThemesGetter() {
  delete this._maxUsedThemes;
  try {
    this._maxUsedThemes = _prefs.getIntPref("maxUsedThemes");
  }
  catch (e) {
    this._maxUsedThemes = DEFAULT_MAX_USED_THEMES_COUNT;
  }
  return this._maxUsedThemes;
});