Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wicknix

macrumors 68030
Original poster
Jun 4, 2017
2,707
5,407
Wisconsin, USA
This is a quick how-to for generic rebranding of TenFourFox.
You'll need a name for your browser, some new icons and logos, a website and/or file hosting, and some patience.
Download TenFourFox's source from https://github.com/classilla/tenfourfox/releases and extract it somewhere.
Now start editing files.

The semicolons indicate the line number to jump to in each file.
Example: /browser/base/content/aboutDialog.xul:133: means you'll edit line 133 of aboutDialog.xul

/browser/base/content/aboutDialog.xul:133: (change the URL)
/browser/app/profile/firefox.js:1122: (change the URL)
/browser/app/profile/firefox.js:1128: (change the URL)
/browser/app/macbuild/Contents/Info.plist.in:162: (change firefox to name of your browser in lowercase)
/browser/branding/unofficial/pref/firefox-branding.js:5: (change the URL)
/browser/branding/unofficial/pref/firefox-branding.js:6: (change the URL)
/browser/branding/unofficial/pref/firefox-branding.js:17 (change the URL)
/browser/branding/unofficial/pref/firefox-branding.js:20: (change the URL)
/browser/branding/unofficial/pref/firefox-branding.js:40: (change the URL)
/browser/branding/unofficial/pref/firefox-branding.js:41: (change the URL)
/browser/branding/nightly/pref/firefox-branding.js:5: (change the URL)
/browser/branding/nightly/pref/firefox-branding.js:6: (change the URL)
/browser/branding/nightly/pref/firefox-branding.js:18: (change the URL)
/browser/branding/nightly/pref/firefox-branding.js:21: (change the URL)
/browser/branding/nightly/pref/firefox-branding.js:41: (change the URL)
/browser/branding/nightly/pref/firefox-branding.js:42: (change the URL)
/browser/branding/official/pref/firefox-branding.js:5: (change the URL)
/browser/branding/official/pref/firefox-branding.js:6: (change the URL)
/browser/components/preferences/in-content/tenfourfox.xul:34: (change to your browser name)
/browser/components/preferences/in-content/preferences.xul:179: (change to your browser name)
/browser/components/preferences/in-content/preferences.xul:182: (change to your browser name)
/browser/locales/en-US/chrome/browser/aboutDialog.dtd:35: (change to your site or vendor name)
/browser/locales/en-US/chrome/browser/aboutDialog.dtd:41: (add yourself to the contributors list)
/browser/locales/en-US/chrome/browser/aboutDialog.dtd:52: (add to this, but it'd be a nice gesture to leave the original info)
/browser/branding/unofficial/locales/en-US/brand.properties:5: (new browser name)
/browser/branding/unofficial/locales/en-US/brand.properties:6: (new browser name)
/browser/branding/unofficial/locales/en-US/brand.properties:7: (new browser name)
/browser/branding/unofficial/locales/en-US/brand.dtd:5: (new browser name)
/browser/branding/unofficial/locales/en-US/brand.dtd:6: (new browser name)
/browser/branding/unofficial/locales/en-US/brand.dtd:7: (new browser name)
/browser/branding/unofficial/locales/en-US/brand.dtd:8: (new vendor name)
/browser/branding/unofficial/configure.sh:5: (new browser name)
/browser/branding/nightly/locales/en-US/brand.properties:5: (new browser name)
/browser/branding/nightly/locales/en-US/brand.properties:6: (new browser name)
/browser/branding/nightly/locales/en-US/brand.properties:7: (new browser name)
/browser/branding/nightly/locales/en-US/brand.dtd:5: (new browser name)
/browser/branding/nightly/locales/en-US/brand.dtd:6: (new browser name)
/browser/branding/nightly/locales/en-US/brand.dtd:7: (new browser name)
/browser/branding/nightly/locales/en-US/brand.dtd:8: (new vendor name)
/browser/branding/nightly/configure.sh:5: (new browser name)
/browser/confvars.sh:6: (change browser name)
/browser/confvars.sh:7: (change vendor name)
/browser/config/version.txt (change version of browser)
/browser/config/version_display.txt (change version of browser)
/toolkit/mozapps/update/nsUpdateService.js:3329: (change the URL)
/toolkit/mozapps/update/content/updates.js:932: (change the URL)
/toolkit/mozapps/update/content/updates.js:949: (change the URL)
/netwerk/protocol/http/nsHttpHandler.cpp:736: (change browser name)
/104fx_copy.sh:15: (change TenFourFox.app to YourBrowserName.app)

Now create some new icons and logos. Use the existing as templates for the sizes that you'll need.
/browser/branding/nightly replace firefox.icns and background.png
/browser/branding/nightly/content replace about.png, about-background.png,
about-logo.png, about-wordmark.png, icon48.png, icon64.png

/browser/branding/unofficial replace firefox.icns and background.png
/browser/branding/unofficial/content replace about.png, about-background.png,
about-logo.png, about-wordmark.png, icon48.png, icon64.png

That should be it for the basics.
If you want to do a "full" rebrand you can grep your way through the source for specific words.
Example:
Code:
grep -rnw '/path/to/tenfourfox-FPR32b1' -e 'TenFourFox' > TFF.txt
This will create a txt file with every file that has the word "TenFourFox" in it.
Note this is case sensitive and you'll get different results when running:
Code:
grep -rnw '/path/to/tenfourfox-FPR32b1' -e 'tenfourfox' > TFF.txt
These results give you the option to replace every instance of TFF if you want.
Just be careful of what you change as going overboard could break your build.

Now go and build your "new" browser! :)

With any luck you'll get results like this:

TFF-Rebrand.png
 
Last edited:
Was Camino a Mozilla browser?
From what I read it is based on Gecko by Mozilla.. from Wikipedia using seamonkey

Camino (from the Spanish word caminomeaning "path") is a discontinued free, open source, GUI-based Web browser based on Mozilla's Gecko layout engine and specifically designed for the OS X operating system. In place of an XUL-based user interface used by most Mozilla-based applications, Camino used Mac-native CocoaAPIs. On May 30, 2013, the Camino Project announced that the browser is no longer being developed.[1]
 
Stainless most likely wouldn’t run on a G3 though... I’m aiming for something light and compatible with the modern web.
Camino then, or omniweb - they are good browsers, but they need to be rebuilt for modern browsing (minus YouTube given a G3 may or may not handle it)
 
What about CorePlayer ? Wont that work on a G3 ? DroneCatcher, you yourself stated that with CorePlayer it’s possible the G4 can play 720p and possibly(depending on codecs) 1040p, or is 720p the max ?
 
What about CorePlayer ? Wont that work on a G3 ? DroneCatcher, you yourself stated that with CorePlayer it’s possible the G4 can play 720p and possibly(depending on codecs) 1040p, or is 720p the max ?

Coreplayer will not help on a G3, because the boost is coming from the G4 AltiVec optimization
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.