Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Popup window, how to Hide URL bar in IE8

when I open popup window and set location=0 or location=no, url bar is still shown in IE8 and readonly.

How can hide it?

Thanks

like image 684
Muhammad Akhtar Avatar asked Nov 04 '09 10:11

Muhammad Akhtar


1 Answers

It cannot be done, modern browser don't allow it at that would be a major security flaw.
See also this answer, shamelessly copied from David Dorward:

In Internet Explorer 7 and later, you cannot remove the address bar in Internet Zone windows, for security (anti-spoofing) reasons.

http://msdn.microsoft.com/en-us/library/ms536651%28VS.85%29.aspx

like image 125
Kobi Avatar answered Oct 20 '22 03:10

Kobi