Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Change theme without using browser customizer

  • 3 replies
  • 2 have this problem
  • 1 view
  • Last reply by cor-el

more options

I'm wondering if there is a way to change your theme to a custom one (I created a spliced mash-up of a few show stills) without having to upload it to the theme submission page (I don't have any licensing/rights for the images I used), instead swapping out an image file in some offline folder or something?

I'm wondering if there is a way to change your theme to a custom one (I created a spliced mash-up of a few show stills) without having to upload it to the theme submission page (I don't have any licensing/rights for the images I used), instead swapping out an image file in some offline folder or something?

All Replies (3)

more options

Firefox places lightweight theme images as lightweighttheme-header and lightweighttheme-footer in the Firefox profile folder (xxxxxxxx.default). The images will be resized and copied to the lwtheme folder if you select the theme. You need to delete the files in this folder to make Firefox use a new lightweight theme if you replace the lightweighttheme-header and lightweighttheme-footer yourself. Set the lightweightThemes.usedThemes and lightweightThemes.selectedThemeID prefs to make Firefox use the lightweight theme images. You can change the values of background "accentcolor":"#" and "textcolor":"#" to make the text show properly and possibly change the name and author as well. .... You can modify the name and label property in lightweightThemes.usedThemes as you like. Set these prefs on the about:config page.

lightweightThemes.persisted.footerURL = true
lightweightThemes.persisted.headerURL = true

lightweightThemes.selectedThemeID = 1
lightweightThemes.usedThemes:
[{"id":"1","name":"Unknown","headerURL":"https://addons.cdn.mozilla.net/","footerURL":"https://addons.cdn.mozilla.net/","textcolor":"#","accentcolor":"#","iconURL":"","previewURL":"","author":"Unknown","updateURL":"","version":"1.0","updateDate":"","installDate":""}]

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

I found the xxxxxx.default folder (appdata\roaming) and all of the files you talked about, thanks! One question, and this might sound stupid, but the two prefs you mentioned (lightweightThemes.usedThemes and lightweightThemes.selectedThemeID) are just found in about:config, not in the xxxxxx.default folder, right?

more options

Yes, the prefs I mentioned can be found on the about:config page. Once you created them they will appear in prefx.js after you have closed Firefox.

The lightweightThemes.usedThemes pref is the pref that stores all (up to 50) themes that you can install. Only the images of the currently installed theme are stored in the profile folder. When you select another theme then Firefox will use the data stored in the pref to retrieve the images of the new theme. So you can install a theme and then backup the images and possibly its data from the lightweightThemes.usedThemes pref.