We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox extensions source code

  • 2 replies
  • 0 have this problem
  • 1 view
  • Last reply by gabozxc

more options

I am working on the Firefox source code and I want to make sure that when I distribute the compiled version, the user profile that opens in the browser is the same as the one found in a specific location in the source code(obj-x86_64-pc-windows-msvc\tmp\profile-default) . How can I make sure that the user profile that opens in the distributed Firefox contains the same extensions and settings as the user profile stored in the source code

Additional details: I am on windows 10

I am working on the Firefox source code and I want to make sure that when I distribute the compiled version, the user profile that opens in the browser is the same as the one found in a specific location in the source code(obj-x86_64-pc-windows-msvc\tmp\profile-default) . How can I make sure that the user profile that opens in the distributed Firefox contains the same extensions and settings as the user profile stored in the source code Additional details: I am on windows 10

All Replies (2)

more options

Hi there! It's great that you're working on the Firefox source code. To ensure that the distributed Firefox contains the same extensions and settings as the user profile stored in the source code, you can follow these steps:

Locate the Firefox user profile folder on your Windows 10 system. The default location is usually C:\Users\<your_username>\AppData\Roaming\Mozilla\Firefox\Profiles.

Copy the entire profile folder (obj-x86_64-pc-windows-msvc\tmp\profile-default) from the source code to the above-mentioned user profile folder.

When you distribute the compiled version of Firefox, make sure to include the copied profile folder in the distribution package.

By including the specific user profile in the distribution package, users who install and run the compiled version of Firefox will have the same extensions and settings as the user profile stored in the source code.

If users already have an existing Firefox profile, they may need to back up their current profile or manually merge the contents with the distributed profile to avoid conflicts or data loss.

I hope this helps! Let me know if you have any further questions or need additional assistance.

more options

Hi suram, thanks for replying

In the compiled distribution package that I generate with the ./mach package how do I include the profile folder(obj-x86_64-pc-windows-msvc\tmp\profile-default)?