December 28, 2000

RisingNet

EPIX Internet Services
MozillaQuest Magazine Front Page button

Internet & Web browsers button

custom Netscape & Mozilla themes & skins button

Digital Photography

Graphics

IRC - Internet Relay Chat - Chat button

Linux button

Mozilla button

Multimedia

Netscape button
network articles

tutorial - help - how to button

Web Page Design

Web Tools

Windows button
.
.
.

Article Index

(click the )

Introduction & Overview

Brief Recap of Part I of MozillaQuest the Series.

Getting the Lizard Ready for Some Skin Surgery

Skinning Tools

Optional Homework

Branding Your Mozilla-Based Browser

To Jar or Not to Jar the Lizard

Changing the Browser Title

Finding the Branding Iron

Branding the Lizard -- Changing Its Name

More Branding -- Changing the Application Logo

Side Effects

Conclusion

Resources & Links





page - 5

Figure 4. Netscape 6 Chrome directory structure.

Changing the Browser Title

The first thing you will do in building your own browser is to put your name on it. For this demonstration, let's call it the MozillaQuest Browser. To do that, modify the Entity reference in the DTD (document data type) file that defines the browser's name.

But first, please make a backup copy of the \Mozilla\bin\chrome\ directory tree in the folder where you have installed Mozilla. You will need this to restore Mozilla to its correctly functioning condition after you are done futzing around with customizing it, or if you mess up while trying to customize Mozilla.

Finding the Branding Iron

The Mozilla-brand browser title-declaration is found in the brand.dtd file in the \Mozilla\bin\chrome\en-US\locale\en-US\global path.

While we are at it, let's change the name of our browser to reflect that we now are using an Mtrunk build. We do not need to add the 17 November build date because that is in the build ID component of the title bar. So now let's call our browser the "MozillaQuest Mtrunk Browser "

Please feel free to use any title you wish for your own custom Mozilla browser. However, it might be easier for you to follow along and use our title and logo for now. Then change them, as you like, later. That will be good practice for you too.

Branding the Lizard -- Changing Its Name

(a) Open brand.dtd in the \bin\chrome\en-US\locale\en-US\global directory using a simple text editor. (Figure 5.)

Figure 5. brand.dtd opened for editing in Notepad.

(b) Then, change the line:

<!ENTITY brandShortName "Mozilla">

to

<!ENTITY brandShortName "MozillaQuest Mtrunk Browser">

by changing the title (brandShortName) "Mozilla" to "MozillaQuest Mtrunk Browser". (Figure 6.)

Figure 6. brand.dtd after editing in Notepad.

(c) Then save the edited brand.dtd file.

(d) Now run your customized Mozilla Mtrunk browser program.

Compare your customized Mtrunk to the screen shots in Figure 5 (next page). The title bar on the bottommost screen shot reads MozillaQuest Mtrunk Browser. The title bar on the original Mtrunk browser uppermost screen shot reads Mozilla.

continue to page 6


Recent Articles

Meet Bugzilla -- Mozilla's Secretary of Bug-Busting & Feature Requests Lizard

Mozilla Milestone 0.7 Browser-Suite Released

Computer Connections at Home, Office, & School

Some Basics for Computing & Networking Novices

Mozilla Community Meeting -- January 29, 2001

dual-boot Linux & windows for best of both operating system worlds

New Browser War Heats Up -- But It's Netscape vs. Netscape

MozillaQuest the Series -- Building Your Own Mozilla-Based Web Browser:Branding your Lizard

Sneak Preview of Mozilla Milestone 0.7

Mozilla Organization Revises Development Roadmap and Product Release Schedule

How to Download,, Install, & Configure Netscape 6.0 Safely

MozillaQuest the Series -- Building Your Own Mozilla-Based Web Browser:Skinning the Lizard

MozillaQuest Magic: Enabling Changes Made to Mozilla-Based Browsers & Applications Chrome -- A Tutorial

Mozilla's ChatZilla, The Lizard Speaks:- IRC


Copyright 2000 -- MozillaQuest -- Brodheadsville, Pa..USA -- All Rights Reserved