Home | Firefox, Tips | Keep Firefox’s location bar on sight
-->

Keep Firefox’s location bar on sight

Published: March 9th, 2007
  •  Print

Popup with location bar off (default)Some pop-up windows may hide the location bar for a number of valid good reasons like providing a less cluttered interface or a smaller window, but it is also an easy cover for malicious web sites to hide the real location of fake sites in cross site scripting (XSS) attacks.

Michal Zalewski, the hacker who uncovered a handful of security vulnerabilities in Firefox on last February, pointed it as one of Firefox’s weaknesses. Fortunately, as suggested in the bug discussion, this behavior can be changed to forbid the ability to hide the location bar to all web sites.

To do this:

  • Enter about:config in the location bar
  • Look for dom.disable_window_open_feature.location
  • Double click it to toggle it to true

Popup with location bar on

You are done. Now popups will show the location bar always. It may look weird at first but it’s a smal price to pay for additional protection.

You can leave a response, or trackback from your own site.

16 Comments on “Keep Firefox’s location bar on sight”

Subscribe to this post's RSS feed

  1. 1. Cameron
    March 9th, 2007 at 11:20 am

    Have you got a webpage where I can test it out? It doesn’t seem to work on my bank’s website - http://national.com.au - then click “Go” in the top right hand corner which brings up a popup to log in to internet banking.

    [Reply]

    Aji JohnSeptember 2nd, 2008 at 12:43 am

    open ur firfox and type about:config in ur location or addressbar. Change dom.disable_window_open_feature.location to false. now try to access ur page say http://national.com.au then click “Go” in the top right hand corner which brings up a popup to log in to internet banking. Now see the difference there is no location box in the popup window

    [Reply]

    Muriel FoxOctober 25th, 2008 at 7:04 pm

    I tried this, and even restarted the computer. Still doesn’t work. How can I ensure that the location bar remains on the Firefox homepage in Vista? Thanks.

    [Reply]

  2. 2. Percy Cabello
    March 9th, 2007 at 11:47 am

    Cameron it works for me: http://www.mozillalinks.org/images/locbarblocktest.png

    I didn’t need to restart, but guess it wouldn’t hurt you try.

    [Reply]

  3. 3. Cameron
    March 9th, 2007 at 11:56 am

    Ah, it seems that because I’ve moved the location bar to the menubar (alongside File, Edit, etc.) that I need to toggle dom.disable_window_open_feature.menubar too - thanks for the tip! :)

    [Reply]

  4. 4. Cameron
    March 9th, 2007 at 12:07 pm

    Additionally, could you add the following line to your css please?

    img.wp-smiley {padding: 0px; margin: 0px;}

    It’ll make smileys look far better ;)

    [Reply]

  5. 5. Percy Cabello
    March 9th, 2007 at 3:59 pm

    Thanks Cameron! Will check it tonight.

    [Reply]

  6. 6. Jim Armstrong
    April 6th, 2007 at 11:51 am

    No http://www. address bar on Firefox……….WHY

    [Reply]

  7. 7. Gorthax
    April 10th, 2007 at 9:08 pm

    This along with adblock is killer

    [Reply]

  8. 8. Ryan.Havvy
    May 17th, 2007 at 7:58 pm

    Note: Havvy isn’t my last name.

    Anyways, that function should be turned by default, no? I do know that Internet Explorer also lets that address bar being seen. So, a rare 1-UP over Mozilla from Microsoft.

    Great find none-the-less.

    [Reply]

  9. 9. Louise Napier
    June 13th, 2007 at 8:20 pm

    I can’t find how to find my Location Bar, I have two google search bars.

    [Reply]

  10. 10. Hans W.Ludwig
    December 22nd, 2007 at 4:16 pm

    Why don’t I have a Mozilla Firefox address bar?

    [Reply]

  11. 11. Anthony Hazell
    February 19th, 2008 at 9:50 am

    I cannot access the location bar so am unable to type in about: etc Please help!

    [Reply]

  12. 12. mathieu
    February 26th, 2008 at 1:33 pm

    I’ve downloaded the latest version and the dom.disable_window_open_feature.location parameter is by default on “true”. Is this normal? cause im trying to remove it from a page on my website, thx.

    [Reply]

  13. 13. jon
    March 23rd, 2008 at 7:10 pm

    Thanks! I hate popups that do that!

    [Reply]

  14. 14. another jon
    September 25th, 2008 at 12:29 am

    That sucks. As a web designer I have good reason to want to hide this annoying URL. Why do the 99% of valid website creators always get screwed over because of the <1% troublemakers?

    [Reply]

1 Trackbacks/Pings (Trackback URL)

  1. 1. Sébastien Wains homepage » Firefox : always display the address bar August 11th, 2007 at 3:35 pm

Leave a Reply




Comment:

Firefox 3

Links

  • Online Shopping
  • Document Scanning Services
  • 5GB free for your music
  • Voucher Codes & Discount Codes
  • CyberDefender Software
  • Recent Entries

    Recent Comments