• On TechRepublic: Who made the worst PC ever?
June 20, 2008 7:48 PM PDT

Make Firefox 3 use green for secure web pages

My last posting was about how Firefox 3 no longer changes the color of the address bar to indicate encrypted Web pages. It was a feature I liked in version 2, and I explained how to restore the yellow address bar in Firefox 3 for Windows.

However, I never got the concept behind yellow. To me, yellow means "warning" rather than "good" and Web pages displayed using the HTTPS protocol are good things, not something anyone needs to be warned about.

Green means good. Firefox 3 uses dark green for the new site identification button. IE7 uses a light green address bar (see below) when the phishing filter is enabled and you're looking at a Web page with an Extended Validation certificate (IE7 doesn't color the address bar for normally encrypted Web pages).


So, if you're going to force Firefox 3 to color the address bar for encrypted HTTPS pages, why not use green?

Follow the instructions from my previous posting, but insert the below into the userChrome.css file. The only difference is the background color; this specifies the same light green that IE7 uses.

#urlbar[level] .autocomplete-textbox-container
{ background-color: #D0F2C4 !important; }

Here are three screen shots from Firefox 3 of the same page, the NewEgg user log-on page. This is a normal, secure, HTTPS page, it does not use extended validation. Chose the behavior you prefer.

The default behavior in Firefox 3--a white address bar


Firefox 3 with the yellow address bar (color borrowed from version 2)


Firefox 3 with a green address bar (color borrowed from IE7)


Update June 27, 2008: This also works with Firefox version 2.

My next posting is about expanding the blue site id button to make HTTPS pages more visually obvious.

See a summary of all my Defensive Computing postings.

Michael Horowitz is an independent computer consultant and the author of several classes on Defensive Computing. He is a member of the CNET Blog Network, and is not an employee of CNET. Disclosure.
Recent posts from Defensive Computing
The Lenovo S10 Netbook is here, count me in
Being smart about Web mail
Off topic: Ford Fusion frustration
Adding a second router: Living with the new setup
Using a second router: A techie how-to
Add a Comment (Log in or register) 5 comments
by FrankTurd June 21, 2008 8:32 AM PDT
Awesome! Thanks for the tip. I noticed that FF3 lacked the "yellow", but I like your idea of using green. Much better.
Reply to this comment
by AXG June 21, 2008 5:45 PM PDT
In Windows Vista, go to Control Panel, Folder options and turn on the "Show Hidden Files and Folders" option. Go to C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\<some number>.default\chrome to find the user-Chrome-examples.css file and do the editing. It works. Any extensions like Stylish etc. will mess up the URL bar color.
Reply to this comment View reply
by josh_nippon June 29, 2008 5:42 PM PDT
I tried the insert in to Chrome file. It worked...sort of. The URL field isn't green, it has a green frame around it. Suggestions???
Reply to this comment
by avoidz July 3, 2008 6:30 PM PDT
Great tip, thanks. I always liked the colored address bar; I hardly even notice the favicons. Green is preferable to the yellow, too :)
Reply to this comment
Powered by Jive Software
advertisement
Resource center from News.com sponsors
What Do You Get With Your Hosting Provider?
The Rackspace Essential Server

Rackspace Hosting
It's a server that automatically comes with unlimited support never outsourced, and a world-class network & data centers with solid guarantees all working for your business. We are here 24x7x365 Live

Click Here!
Unlimited, 24x7x365 Live Support

It means customer support with no call centers or automated phone systems

100% Network Uptime Guarantee

Can you afford for your website to offline? Can you trust your current provider?

The Manageable Green Hosting Solution

Choose a green configuration or customize one that works for your business.

The Fanatical Support Promise

Your complete satisfaction is our sole ambition. Anything less is unacceptable.

Certified Windows or Red Hat Expertise

Every customer has a dedicated team of experts managing your IT critical needs.

About Defensive Computing

Michael Horowitz is an independent computer consultant and the author of several classes on Defensive Computing. He views Defensive Computing as taking steps, when things are running well, to avoid or minimize the inevitable problems down the road. It's about educating yourself to the level where you can make your own intelligent decisions about keeping your computers and data happy and healthy. If you depend on computers, yet are on your own, without an IT department or nearby nerd, this blog's for you. His personal web site is michaelhorowitz.com.

He is a member of the CNET Blog Network and is not an employee of CNET.

Disclosure.

Add this feed to your online news reader

Defensive Computing topics

Featured blogs

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right