extension idea related to Personas

General project discussion.
Use this as a last resort if your topic does not fit in any of the other boards but it still on-topic.
Forum rules
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.

Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
blue_dragon
Moonbather
Moonbather
Posts: 51
Joined: 2024-05-02, 09:21
Location: Earth

extension idea related to Personas

Post by blue_dragon » 2026-07-16, 06:01

i think it would be cool if there was an extension that converts Firefox Quantum themes (in addons.mozilla.org like https://addons.mozilla.org/ko/firefox/a ... raemonkuu/ ) into Pale Moon persona format

also is there a reason persona themes are saved all in lightweightThemes.usedThemes unlike complete themes? i think its harder to bundle toolbar background images etc locally or distribute custom persona themes with custom backgrounds

User avatar
therube
Board Warrior
Board Warrior
Posts: 1791
Joined: 2018-06-08, 17:02

Re: extension idea related to Personas

Post by therube » 2026-07-16, 16:06

FWIW... Here is an example of a FF "Persona".
(This "Persona", is a persona only when used in conjunction with Firefox Color.)

Code: Select all

{
  "manifest_version": 2,
  "version": "1.0",
  "name": "FUMOZILLA",
  "theme": {
    "images": {},
    "properties": {},
    "colors": {
      "toolbar": "rgb(255, 255, 0)",
      "toolbar_text": "rgb(0, 0, 0)",
      "frame": "rgb(207, 207, 251)",
      "tab_background_text": "rgb(0, 0, 0)",
      "toolbar_field": "rgb(255, 255, 255)",
      "toolbar_field_text": "rgb(0, 0, 0)",
      "tab_line": "rgb(0, 0, 0)",
      "popup": "rgb(255, 255, 0)",
      "popup_text": "rgb(0, 0, 0)",
      "tab_loading": "rgb(0, 0, 0)"
    }
  }
}
Above, gives you:
.
Firefox - theme, persona.png

And here is a PM persona (split at commas):

Code: Select all

user_pref("lightweightThemes.usedThemes",
 "[{\"id\":\"basilisk\",
\"name\":\"Basilisk Gradient\",
\"headerURL\":\"http://addons.palemoon.org/datastore/personas/basilisk/header.png\",
\"footerURL\":\"http://addons.palemoon.org/datastore/personas/basilisk/footer.png\",
\"textcolor\":\"#0C503E\",
\"accentcolor\":\"#F8F5E4\",
\"iconURL\":\"http://addons.palemoon.org/datastore/addons/default/theme.png\",
\"previewURL\":\"http://addons.palemoon.org/datastore/personas/basilisk/preview.png\",
\"author\":\"Moonchild\",
\"description\":\"A persona in the style of the theme used on the Basilisk home page\",
\"updateURL\":\"https://addons.palemoon.org/?component=aus&persona=basilisk\"},
{\"id\":\"palemoon\",
\"name\":\"Pale Moon\",
\"headerURL\":\"http://addons.palemoon.org/datastore/personas/palemoon/header.png\",
\"footerURL\":\"http://addons.palemoon.org/datastore/personas/palemoon/footer.png\",
\"textcolor\":\"#092040\",
\"accentcolor\":\"#8bb3e3\",
\"iconURL\":\"http://addons.palemoon.org/datastore/personas/palemoon/icon.png\",
\"previewURL\":\"http://addons.palemoon.org/datastore/personas/palemoon/preview.png\",
\"author\":\"Moonchild\",
\"description\":\"A blue moon on soft light blue background gradients,
 in the style of the theme used on www.palemoon.org\",
\"updateURL\":\"https://addons.palemoon.org/?component=aus&persona=palemoon\"}]");
You do not have the required permissions to view the files attached to this post.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1791
Joined: 2018-06-08, 17:02

Re: extension idea related to Personas

Post by therube » 2026-07-16, 16:34

Heh.
FWIW, here is SeaMonkey persona-fied with changes to 'Basilisk Gradient', changing header/footer to yellow (IrfanView), & ugly-fying text & accent colors (converting rgb to #hexvalue code, or whatever it is).
.
SeaMonkey - persona.png

(I've never done such things before, except long ago creating a [the above] "theme" for FF.)
You do not have the required permissions to view the files attached to this post.

User avatar
therube
Board Warrior
Board Warrior
Posts: 1791
Joined: 2018-06-08, 17:02

Re: extension idea related to Personas

Post by therube » 2026-07-16, 16:43

I copied the .png image from within the doraemonku persona (<guid>.xpi), renamed it to, 'lightweighttheme-header-1600x900'.

SeaMonkey - doraemonku theme.png
You do not have the required permissions to view the files attached to this post.

blue_dragon
Moonbather
Moonbather
Posts: 51
Joined: 2024-05-02, 09:21
Location: Earth

Re: extension idea related to Personas

Post by blue_dragon » 2026-07-16, 16:49

cool. for me my browser profile directory is

Code: Select all

F:\Profiles\Personal
so i copied the header image to

Code: Select all

F:\Profiles\Personal\lwthemes-local\
directory & edited the usedThemes about:config entry and set headerURL to

Code: Select all

file:///F:/Profiles/Personal/lwthemes-local/header.png

User avatar
therube
Board Warrior
Board Warrior
Posts: 1791
Joined: 2018-06-08, 17:02

Re: extension idea related to Personas

Post by therube » 2026-07-16, 16:53

So if you automate something to download the .xpi from AMO, extract the .png image, rename that to 'lightweighttheme-header-1600x900'... kind of thing...

curl https://addons.mozilla.org/firefox/down ... uu-2.0.xpi --output dora.zip
unzip dora.zip *.jpg
mv *.jpg "lightweighttheme-header-1600x900"

User avatar
therube
Board Warrior
Board Warrior
Posts: 1791
Joined: 2018-06-08, 17:02

Re: extension idea related to Personas

Post by therube » 2026-07-16, 16:56

And here is a PM persona (split at commas):*
In addition to the code in prefs.js, SeaMonkey (I'll assume PM is the same), stores the "image", in /lwtheme/ in the Profile Folder.


"lightweighttheme-header-1600x900"*
I know nothing of this stuff, so if the above name is fixed, always, or changes based upon... I have no clue.

blue_dragon
Moonbather
Moonbather
Posts: 51
Joined: 2024-05-02, 09:21
Location: Earth

Re: extension idea related to Personas

Post by blue_dragon » 2026-07-16, 16:58

therube wrote:
2026-07-16, 16:56
And here is a PM persona (split at commas):*
In addition to the code in prefs.js, SeaMonkey (I'll assume PM is the same), stores the "image", in /lwtheme/ in the Profile Folder.


"lightweighttheme-header-1600x900"*
I know nothing of this stuff, so if the above name is fixed, always, or changes based upon... I have no clue.
its same in PM too but thats just a cache & will be cleared when switching to another theme

User avatar
therube
Board Warrior
Board Warrior
Posts: 1791
Joined: 2018-06-08, 17:02

Re: extension idea related to Personas

Post by therube » 2026-07-16, 17:08

;-).
.
SeaMonkey - blue_dragon.png
You do not have the required permissions to view the files attached to this post.

blue_dragon
Moonbather
Moonbather
Posts: 51
Joined: 2024-05-02, 09:21
Location: Earth

Re: extension idea related to Personas

Post by blue_dragon » 2026-07-16, 17:13

nice

im using https://addons.mozilla.org/ko/firefox/a ... -doraemon/ modified to use light background & make it PM compatible

User avatar
therube
Board Warrior
Board Warrior
Posts: 1791
Joined: 2018-06-08, 17:02

Re: extension idea related to Personas

Post by therube » 2026-07-16, 17:29


blue_dragon
Moonbather
Moonbather
Posts: 51
Joined: 2024-05-02, 09:21
Location: Earth

Re: extension idea related to Personas

Post by blue_dragon » 2026-07-16, 17:31

i dont understand why Firefox made this idiotic extension signing thing mandatory in stable builds & make people use ESR just to use a custom theme xpi. thank god Pale Moon doesnt have the signing system

dropping XUL extension support is the world's worst & one of the most stupidly idiotic things Mozilla has ever done but they have to do some more stupid things

User avatar
Mæstro
Board Warrior
Board Warrior
Posts: 1279
Joined: 2019-08-13, 00:30
Location: Casumia

Re: extension idea related to Personas

Post by Mæstro » 2026-07-17, 22:46

blue_dragon wrote:
2026-07-16, 17:31
i dont understand why Firefox made this idiotic extension signing thing mandatory in stable builds & make people use ESR just to use a custom theme xpi. thank god Pale Moon doesnt have the signing system
It keeps up the hedges rounding the walled garden, and locks the user in. Apple offered an early example with Gatekeeper in 2011.
Life is a fever dream Mæstro would enjoy.
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build