First of all the subject is a bit misleading as we won't be actually replacing anything. Just adding a override in our home dir that uses a VL animation rather than the one included with Firefox. One could actually replace the throbber in the system files by exploding a .jar file, swapping the images, then repacking the jar file again. But if you screw up... well then Firefox will be screwed up.
A large part of Firefox (and many Mozilla apps) are merely javascript and .css files. Most of the browser GUI is programmed like a web page.
 Here's the trobber before |  And after |
 | Right click this image and save it to /home/you/.mozilla/firefox/xxxxx.default/chrome This static image will be visible above the search bar |
 | Right click and save this image to the same location. This will be the animation that plays while a page is loading. |
Now, in the same folder create new text file called userChrome.css. Add this to the file and save it:
/*Throbber Control*/
toolbar #navigator-throbber { list-style-image: url("VL-static-30x30.gif") !important; }
toolbar #navigator-throbber[busy="true"] { list-style-image: url("VL-animate-30x30.gif") !important; opacity: 1 !important }
That's it! Just reload Firefox and your done. Deleting the 3 new files from the chrome dir will restore Firefox back to original if you wish.
The second entry in userChrome.css can be edited to your liking. If the
opacity: 1 !important
is removed... the animation will become semi-transparent during load time. It actually looks bleached out. This is Firefoxs default. If you would like that effect to a lesser degree, just increase the number in
opacity: 1
to your liking.
Of course you may use any images you wish ( I should of put more love into the VL one I made). They just have to be in .gif format. The animated one is a animated .gif of course. The number of frames doesn't matter. The size doesn't seem to matter either. But a larger image swells up the height of the bar that it rests in.