Disable browser location bar in pop-ups

I have the following javascript html code:

<A HREF="javascript:void(0)"onclick="window.open('http://www.msn.com/','New Windows','height=380, width=300,location=no')">Hide Address Bar</a>

It works fine with IE, but not with FireFox 3 and later.

I want to disable the Location panel when pop-ups appear.

+5
source share
2 answers

The problem is not a mistake in your syntax. The problem is security. If people can hide the address bar, people will be able to recreate login pages such as Paypal, and people will be spoofed to enter them and give the attacker a hacker their password.

, location = no .

+8

( ). .

+4

All Articles