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

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.
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.
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! :)
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 ;)
Thanks Cameron! Will check it tonight.
No www. address bar on Firefox……….WHY
This along with adblock is killer
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.
I can’t find how to find my Location Bar, I have two google search bars.
[...] Link : http://mozillalinks.org/wp/2007/03/keep-firefoxs-location-bar-on-sight/ [...]
Why don’t I have a Mozilla Firefox address bar?
I cannot access the location bar so am unable to type in about: etc Please help!
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.
Thanks! I hate popups that do that!
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
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?
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.
Can you please tell me how I can get my fire fox address back? The only thing I have is the google search bar and the Y search bar. But the main address bar that goes at the fire top I don’t have. I have been putting up with this for over a year and I am tired of it. I am needing help please. I have unistall fire fox and reinstall it. I still don’t have and address bar at the top.
Thank you!
jnez_nez@yahoo.com
That’s why it’s an option. This way, people who don’t care that your website sucks are none the wiser anyway.
@Jay
Stop installing retarded toolbars and you won’t have so much trouble with your regular ones. Are you so blind you can’t see them for the useless spyware they are?
i don’t want manually hide the location bar,
if there any auto process to hide location bar
Press F10, select View->Toolbars->Menubar
done
mozilla links





ShareThis
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.