views:

81

answers:

2

Why status bar is still shown when I'm using window.open("test.html", "a", "status=no"). This doesn't work on IE8 only and only if site is not in trusted zone. In this case status bar appears no matter what I do.

+4  A: 

It's an IE8 Security feature.

By default, non-trusted sites can't hide window elements (status bar, address bar) when opening new windows.

The idea is to prevent a malicious site from masquerading as a trusted site and hiding the address and status bars so you can't tell the real URL of the page.

Users do have the option of disabling this feature though.

Justin Niessner
A: 

Newer browsers don't allow the hiding of the status bar for security reasons. Browsers show the target of a link there in order to avoid things like

<a href="http://some.evil.phishing.site"&gt;http://your.bank&lt;/a&gt;
RoToRa