[FX] Modify Firefox source code to get diff name and icon

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Locked
XJDHDR
Posts: 3
Joined: December 9th, 2018, 1:39 am

[FX] Modify Firefox source code to get diff name and icon

Post by XJDHDR »

What I want to know is if I download a copy of Firefox's source code, what do I need to change in the source to make the compiler give me a compiled version of Firefox but with a different title, EXE name and icon to the default?

Basically, what do the developers of, say, Waterfox or Palemoon modify to give their fork a different name and icon to Firefox?
lasardo
Posts: 182
Joined: September 9th, 2018, 1:41 pm

Re: [FX] Modify Firefox source code to get diff name and ico

Post by lasardo »

Without compiling, you can unzip, change and zip some JAR or JA files to change the title. http://kb.mozillazine.org/Rebranding_Firefox The exe can be renamed just like any file and works fine.
Changing the icon can be done with an icon changer or "resource hacker" software https://www.howtogeek.com/75983/stupid- ... .exe-file/ as long as Firefox does not use a built in checksum which I don't think it does. Note that all of these changes will / may be undone if you let your modified Firefox update.

But, you can compile Firefox. You will by default get a browser called "Mozilla Browser" instead of Firefox I think. For most Windows users compiling will be a pain, I'd expect figuring it out to take a typical user a full workday.
XJDHDR
Posts: 3
Joined: December 9th, 2018, 1:39 am

Re: [FX] Modify Firefox source code to get diff name and ico

Post by XJDHDR »

I have so far found out that this folder in the source code is used to change the branding: https://dxr.mozilla.org/mozilla-release ... g/official

However, I have had so much trouble trying to get Firefox to compile on both Windows and Linux that I have shelved this project for now.
Locked