0
I managed to replace the icons via Resource Hacker, but there's still the new logo left when opening a new tab, which doesn't show in Resource Hacker:
Is there anyone who can tell me how to replace it?
0
I managed to replace the icons via Resource Hacker, but there's still the new logo left when opening a new tab, which doesn't show in Resource Hacker:
Is there anyone who can tell me how to replace it?
2
On opening the Firefox executable as an archive and navigating to the ICONS folder in the resource, I could see the following icons present in it —
Of all these icons, the ones numbered 1, 2, 3, 4, 9, 10, 11 and 12 are the ones which contain the logo that you want to replace. If you replace all of them with a new icon of the same size, you should see the new tab icon changed as well.
If that doesn't work, then maybe the icon is hard-coded (though, very unlikely) in the Firefox executable that you are modifying.
However, I would always advise you to build Firefox from source to make such modifications.
-------
EDIT
-------
Apparently, my previous part of the answer was completely wrong. By changing the icons inside the main executable, it is possible to only change the Firefox branding inside the various UI elements like dialog boxes, popups and the icon visible in the app's shortcuts. However, the icons in the web pages in the app (for example the new tab page, incognito page, welcome page etc.) are located in a completely different location.
On searching the firefox source code, I found this segment which describes the location of the icons of the web pages.
So, the icons of the various web pages are not inside the Firefox executable, but in a separate location inside the installation directory.
<installation directory>\browser\omni.ja
where <installation directory>
is something like C:\Program Files\Mozilla Firefox
if you're using Firefox on Windows.
Inside the archive omni.ja
, the chrome://branding/content/
URI corresponds to the path \chrome\browser\content\branding\
. So here are the icons that you want to replace to change the icons of the various built-in web pages inside Firefox.
Reference: Searching the Mozilla source code and another similar old question on StackOverflow
How to modify the contents of the omni.ja archive?
The best way to modify the contents will be —
For instructions on unpacking and repacking, this page might be helpful.
I followed your path to check if the icons were indeed replaced, so I extracted the ICON-folder and there was no new Firefox-logo inside but only the replacements with the old one. – Starhowl – 2019-10-26T08:37:36.930
Hello, apparently I was wrong about the icons being located inside the executable. Corrected my answer to the best of my knowledge and the given instructions are according to Firefox v70.0. Please upvote or mark as answer if it helps. – ManSamVampire – 2019-10-26T12:49:20.840
Do you know how I can replace the icons inside the archive? It always tells me that the folder would be read only, despite having set the owner to Everyone and given it full control with the file located on Desktop? – Starhowl – 2019-10-28T07:07:24.310
Updated my answer above. – ManSamVampire – 2019-10-28T21:42:37.870
3And when the next FF update is released in some days you have to do this again and again and again... – Robert – 2019-10-26T13:02:22.497