Extension across profiles
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
- noellarkin
- Apollo supporter
- Posts: 41
- Joined: 2021-07-27, 04:20
Extension across profiles
Operating system:Windows 7
Browser version:32
32-bit or 64-bit browser?:x64
I know that I can paste a .xpi file into C:\Program Files\Pale Moon\browser\extensions so it is available across profiles.
However, when making a new browser profile, I always get a prompt asking me if I want to "Allow this installation" (image here:) Is it possible to ensure that an extension that is available globally across profiles is also enabled by default?
Browser version:32
32-bit or 64-bit browser?:x64
I know that I can paste a .xpi file into C:\Program Files\Pale Moon\browser\extensions so it is available across profiles.
However, when making a new browser profile, I always get a prompt asking me if I want to "Allow this installation" (image here:) Is it possible to ensure that an extension that is available globally across profiles is also enabled by default?
Re: Extension across profiles
The prompt is a safety feature, else any malware could (and did, initially until Firefox introduced the prompt perhaps in the 3.x era) simply copy an xpi to that location to get silently loaded for spying on your browsing or whatever. IIRC you could create an extensions directory in the Pale Moon installation directory (found under C:\program files on Windows or /usr/lib/palemoon if you installed it on Linux using the repository method) to add extensions that should be automatically enabled. Moonchild or someone else can elaborate better.
"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
- noellarkin
- Apollo supporter
- Posts: 41
- Joined: 2021-07-27, 04:20
Re: Extension across profiles
Thanks, will wait for MoonChild to weigh in on this.
- noellarkin
- Apollo supporter
- Posts: 41
- Joined: 2021-07-27, 04:20
Re: Extension across profiles
I tried pasting the xpi in C:\Program Files\Pale Moon, as well as unzipping the xpi to a folder under C:\Program Files\Pale Moon, neither worked. Perhaps it's some other subfolder?
- LAR Grizzly
- Lunatic
- Posts: 326
- Joined: 2017-08-11, 16:49
- Location: Upstate Ohio, USA
- Contact:
Re: Extension across profiles
C:\Program Files\Pale Moon\extensions
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 32.1.0, Interlink Mail 52.9.8194, Firefox 111.0, Thunderbird 102.8.0, and SeaMonkey 2.53.15
Comodo Internet Security
Pale Moon 32.1.0, Interlink Mail 52.9.8194, Firefox 111.0, Thunderbird 102.8.0, and SeaMonkey 2.53.15
- noellarkin
- Apollo supporter
- Posts: 41
- Joined: 2021-07-27, 04:20
Re: Extension across profiles
I tried that as well, with both an xpi and a folder (using the MTube extension to test), it didn't work either.
Re: Extension across profiles
Have a read: https://mike.kaply.com/2012/02/21/under ... on-scopes/
And please, no capital "C" in the middle of my name.
"The best revenge is to not be like the person who wronged you." -- Marcus Aurelius
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
Re: Extension across profiles
Are you saying Pale Moon is using "Mozilla" directory?Moonchild wrote: ↑2023-01-26, 09:52Have a read: https://mike.kaply.com/2012/02/21/under ... on-scopes/
Code: Select all
%appdata%\Mozilla\Extensions\{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}\
Code: Select all
%appdata%\Moonchild Productions\Extensions\{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}\
or
%appdata%\Moonchild Productions\Pale Moon\Extensions\{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}\
Re: Extension across profiles
Please understand that the article i linked to is Mike Kaply talking about Mozilla Firefox.
We do, however, have the same mechanics in Pale Moon for configuration. As the article says it explains extension scopes.
We do, however, have the same mechanics in Pale Moon for configuration. As the article says it explains extension scopes.
"The best revenge is to not be like the person who wronged you." -- Marcus Aurelius
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
Re: Extension across profiles
I tested it and it only works when in Mozilla directory. Maybe I did something wrong?
Re: Extension across profiles
No you did not.
Mozilla has been maintained for external extensions because otherwise it simply wouldn't work when people expect it to. Call it "for historical purposes"
"The best revenge is to not be like the person who wronged you." -- Marcus Aurelius
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
- noellarkin
- Apollo supporter
- Posts: 41
- Joined: 2021-07-27, 04:20
Re: Extension across profiles
Sorry, took me a while to get around to this.
So here's what I did:
The link mentioned setting up an autoconfig file.
I followed this guide:
https://support.mozilla.org/en-US/kb/cu ... autoconfig
1. I went to the directory C:\Program Files\Pale Moon\defaults\pref
2. I made a new file autoconfig.js inside C:\Program Files\Pale Moon\defaults\pref
3. In autoconfig.js I put the following text:
pref("general.config.filename", "firefox.cfg");
pref("general.config.obscure_value", 0);
4. I then went to C:\Program Files\Pale Moon
5. I made a new file called firefox.cfg
6. I put the following text in firefox.cfg:
// IMPORTANT: Start your code on the 2nd line
pref("extensions.autoDisableScopes", 0);
pref("extensions.enabledScopes", 15);
7. I put the extensions in C:\Program Files\Pale Moon\browser\extensions
8. I made a new profile to test with
The extensions are still disabled by default. Where am I going wrong? I enabled all scopes (value 15)
So here's what I did:
The link mentioned setting up an autoconfig file.
I followed this guide:
https://support.mozilla.org/en-US/kb/cu ... autoconfig
1. I went to the directory C:\Program Files\Pale Moon\defaults\pref
2. I made a new file autoconfig.js inside C:\Program Files\Pale Moon\defaults\pref
3. In autoconfig.js I put the following text:
pref("general.config.filename", "firefox.cfg");
pref("general.config.obscure_value", 0);
4. I then went to C:\Program Files\Pale Moon
5. I made a new file called firefox.cfg
6. I put the following text in firefox.cfg:
// IMPORTANT: Start your code on the 2nd line
pref("extensions.autoDisableScopes", 0);
pref("extensions.enabledScopes", 15);
7. I put the extensions in C:\Program Files\Pale Moon\browser\extensions
8. I made a new profile to test with
The extensions are still disabled by default. Where am I going wrong? I enabled all scopes (value 15)
- noellarkin
- Apollo supporter
- Posts: 41
- Joined: 2021-07-27, 04:20
Re: Extension across profiles
okay, it's working now! Dunno what I did wrong the first time, but did all the steps over again and this time it worked!
Re: Extension across profiles
If you are using Windows, why not just press Ctrl-Shift-A to open the addons window, choose Extensions and drag and drop the .xpi file onto it? That is easy and it works.