Firefox has some nice anti-annoyance features such as disabling various Javascript tricks but one thing that isn’t available in the options dialog is the ability to stop new windows from disabling the address bar where you type in the url with the ‘location=no’ javascript attribute when opening new windows. Some times this is useful for windows that are designed to be small but often it is just an annoyance or used to hide the URL from the user.
Its extra annoying if you like to use tabs since when you make a new one in a window with the location bar disabled the new tab doesn’t have an address bar.
You can disable the attribute in about:config:
1) Type ‘about:config’ into the address bar
2) Filter for ‘dom’
3) Set ‘Dom.disable_window_open_feature.location‘ to true
There are also a bunch of other DOM options such as stopping new windows from opening with out the menubar (Dom.disable_window_open_feature.menubar), scrollbars (Dom.disable_window_open_feature.scrollbars) and such.
You rock dude! I’ve been looking for this information for %$#@ing MONTHS!!! In your face, annoying corporate wankers!
And no issue to use a new javascript command to hide the nav/location-bar ? with a javascript action on dom.disable_window_open_feature.location to change the “true” by false automatically on an open-window ? This needs to force the browser-client to open the new window with no bar (except the title-bar and status-bar) …
This would be useful …
thx
jerome
I completly agree with norton… his comment could have not been better!
Thanks so much!
Hi
Can I change this value using JavaScript ?
Thanks
Ruban
Hi,
I am jag. as per User requirement, I need to Hide address bar in Pop up window(Security reasons). i used window.open(“http://www.mydomain.com/mypage.htm”, “mywindow”, “location=0,menubar=0,status=0,scrollbars=0,width=100,height=100″); in my JavaScript Which is working fine. But, for mozilla we need to set Dom.disable_window_open_feature.location value.
In Web application how can i set this in users firfox browser? Is there any way to set this using java script. I want setDom.disable_window_open_feature.location value using JavaScript before i use window.open. How can i do this?
Thank you,
Jag
finally thank you.
@Jag, this idea is stupid, that is why there are options. there is never a need to hide the location. never ever