Restore or increase number of lightweightThemes stored in prefs.js
Hi, since Firefox lets you keep a list of disabled "lightweight themes" to try for later, saved in the prefs.js (shown in Extensions > Appearance in Firefox) ive been building up a collection, and yesterday found https://addons.mozilla.org/en-US/firefox/user/birdyann/themes with alot i wanted to try, but didnt realize Firefox limits disabled themes to 30, so after adding over 30 of those themes to my disabled list, discovered all the disabled themes id had listed previously were now removed.
is there any where other than prefs.js i can look that'll tell me what lightweightThemes i *used to* have in the disabled list?
is there any way to get prefs.js to increase that number of disabled themes it'll keep track of?
由 nonat 於
被選擇的解決方法
Firefox stores data of a maximum number of Personas (DEFAULT_MAX_USED_THEMES_COUNT=30)
- resource://gre/modules/LightweightThemeManager.jsm
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 that maximum by creating an Integer pref with the name lightweightThemes.maxUsedThemes and set its value accordingly.
You can also use the Personas Plus extension to handle more Personas.
The list of installed Personas is stored in prefs.js in the Firefox Profile Folder in the lightweightThemes.usedThemes pref in JSON object format ({"id":"#","name":"xxx",...}).
The first entry of that pref is the currently used Persona.
從原來的回覆中察看解決方案 👍 0所有回覆 (2)
選擇的解決方法
Firefox stores data of a maximum number of Personas (DEFAULT_MAX_USED_THEMES_COUNT=30)
- resource://gre/modules/LightweightThemeManager.jsm
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 that maximum by creating an Integer pref with the name lightweightThemes.maxUsedThemes and set its value accordingly.
You can also use the Personas Plus extension to handle more Personas.
The list of installed Personas is stored in prefs.js in the Firefox Profile Folder in the lightweightThemes.usedThemes pref in JSON object format ({"id":"#","name":"xxx",...}).
The first entry of that pref is the currently used Persona.
core-el, thankyou so much. Im surprised the solutions was that simple, and that it works
btw for others curious to try this, in the link above where it says "To add a new preference, context-click (right-click) anywhere in the list of preferences " just means right click ON any entry listed, pick "New" and "Integir" and paste lightweightThemes.maxUsedThemes into it, then pick a number.
Thankyou for that, all i need to bookmark is this page :)