Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Change theme without using browser customizer

  • 3 답장
  • 2 이 문제를 만남
  • 1 보기
  • 최종 답변자: 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?

모든 댓글 (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.