Bundling extensions with browser

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
ownedbywuigi
Fanatic
Fanatic
Posts: 242
Joined: 2026-03-09, 21:48
Location: United Kingdom

Bundling extensions with browser

Post by ownedbywuigi » 2026-04-25, 13:46

How would I get around with bundling, say, uBlock Origin with my custom build? Tried it before but never got around to getting it working.
Lead Dactyloidae developer.
Feedback needed! https://forum.palemoon.org/viewtopic.ph ... 30#p272630

User avatar
Basilisk-Dev
Astronaut
Astronaut
Posts: 636
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Re: Bundling extensions with browser

Post by Basilisk-Dev » 2026-04-26, 18:59

It's possible to stick an XPI file in the tree and tell it to bundle that XPI file out at build time. I don't have the code in front of me right this second, but a quick Bing search should get you what you want. I believe (I could be wrong) that Epyrus does this with the "Provider for Google Calendar" extension.
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5844
Joined: 2015-12-09, 15:45

Re: Bundling extensions with browser

Post by moonbat » 2026-04-27, 00:35

Per old documentation, place the extensions in <installation directory>/distribution/extensions. Since you're making your own build, see where this would map to in your build tree.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net