Creating an extension for Pale Moon.
Moderators: FranklinDM, Lootyhoof
- Piotr Kostrzewski
- Moon lover
- Posts: 88
- Joined: 2018-08-14, 15:08
Creating an extension for Pale Moon.
Hello .
I would like to try to create an extension for Pale Moon. First for myself to see if I can do it at all. Is there an SDK that should be used?
Thank you very much for your time.
Regards,
Piotrek
I would like to try to create an extension for Pale Moon. First for myself to see if I can do it at all. Is there an SDK that should be used?
Thank you very much for your time.
Regards,
Piotrek
Re: Creating an extension for Pale Moon.
The SDK hides the essence and hinders rather than helps. I recommend not to use SDK.
Just take some small extension as an example and read the documentation.
https://udn.realityripple.com/docs/Arch ... Extensions
https://udn.realityripple.com/docs/Arch ... extensions
Just take some small extension as an example and read the documentation.
https://udn.realityripple.com/docs/Arch ... Extensions
https://udn.realityripple.com/docs/Arch ... extensions
- Piotr Kostrzewski
- Moon lover
- Posts: 88
- Joined: 2018-08-14, 15:08
Re: Creating an extension for Pale Moon.
Thanks a lot. I want to create a specific extension. I found one of this type but it is WebExtension. Therefore I would like to know if there is any 'base' of code that can be used to reflect what it does but for Pale Moon.Kris_88 wrote: ↑2023-06-10, 09:16The SDK hides the essence and hinders rather than helps. I recommend not to use SDK.
Just take some small extension as an example and read the documentation.
https://udn.realityripple.com/docs/Arch ... Extensions
https://udn.realityripple.com/docs/Arch ... extensions
Re: Creating an extension for Pale Moon.
Pale Moon does not support interface for webextensions. In any case, the features that are available for webextensions are just pitiful scraps of what browsers have inside.
As far as I know, there is no automatic method for converting a webextension to XUL or bootstrapped extension.
As far as I know, there is no automatic method for converting a webextension to XUL or bootstrapped extension.
- Piotr Kostrzewski
- Moon lover
- Posts: 88
- Joined: 2018-08-14, 15:08
Re: Creating an extension for Pale Moon.
I know it. I guess I expressed myself wrong. I mean that, for example, in creating websites, the same effect can be achieved differently in HTML and differently using HTML5 (this is the first comparison that came to my mind). I prefer to create the extension myself without automation.Kris_88 wrote: ↑2023-06-10, 09:51Pale Moon does not support interface for webextensions. In any case, the features that are available for webextensions are just pitiful scraps of what browsers have inside.
As far as I know, there is no automatic method for converting a webextension to XUL or bootstrapped extension.
Re: Creating an extension for Pale Moon.
It's clear.
In fact, there is more than enough information ...
But I'm afraid you won't find a minimum set of how-to specifically for your task ...
In fact, there is more than enough information ...
But I'm afraid you won't find a minimum set of how-to specifically for your task ...
- Piotr Kostrzewski
- Moon lover
- Posts: 88
- Joined: 2018-08-14, 15:08
Re: Creating an extension for Pale Moon.
Possibly, if I fail, well, it's not a prime need extension.But I can try.
Re: Creating an extension for Pale Moon.
Certainly.
Re: Creating an extension for Pale Moon.
Some tips:
- Making a bootstrapped extension is not worth it; make one only if the extension will work in the background without any user interface beyond what the add-ons manager provide
- Always "namespace" your javascript functions: basically just do const MyExtensionNamespace = {}; and then add your stuff as properties of that object
- Always add an entry in one of the menus if the extension has a user interface, even if you provide a toolbar button
- Learn how to use the Xref at xref.palemoon.org
Re: Creating an extension for Pale Moon.
Start with the XUL School Tutorial for a step by step guide to building an extension, and the XUL Tutorial for more advanced functions.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX