Moving the Home button on Netscape7

This is one of those ‘once in a lifetime’ questions, that I answered long ago, and kept the answer on my hard drive. The question was from a Netscape 7 user, who installed the Home button for the Navigation Toolbar. He wanted to move the button, so instead of being beside the navigation buttons (Stop, Reload, Back, Forward), it would be to the left of the throbber.
Here’s how to do it:

– Close Netscape

– Use a file zipper/archiver, such as Winzip, to view the contents of home.jar. It will reside in either the \Netscape\chrome\ directory, or your profile’s \chrome\ directory, depending on where you installed it.

– Open homeOverlay.xul in a text editor, such as Wordpad.

– Scroll down, until you see the line that starts with:
<hbox

– change the id to throbber-box, so it looks like this:
<hbox id=”throbber-box”>

– a little lower, you will see a line that starts with:
<toolbarbutton

– at the end of that line enter the attribute position=”1″, so the line looks like this:
<toolbarbutton id="home" class="toolbarbutton-1" label="&homeButton.label;" position="1"

Save homeOverlay.xul in C:\content
– Using Winzip, add the file C:\content\homeOverlay.xul to home.jar, and remember to enable the option to save the folder info. This way, you keep the \content\ file path within home.jar.

– save and close home.jar

The result should be like this:

1 Response

  1. no. 1 chief rocker June 13, 2006 / 4:32 pm

    Dear Chris,

    I was Googling how to move the throbber logo/btn thingy in Firefox down to the right of the google search box and got your article as part of the search results. Exactly like how you moved the Home buttons in Netscape.

    I have been trying to figure out how to do the same for a skin I’m making for Firefox 1.5.0.4. Do you have any tips on how I could do that? Or maybe a good resource you could point me to on the web?? I’ve been searching around and know that I have to change the XBL bindings. But how and where to change it is the issue…

    Thanks, Alice

Comments are closed.