views:

2681

answers:

3

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

A: 

Use PopupControl instead of pupup window.

Wael Dalloul
+3  A: 

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

Kobi
Thanks.........
Muhammad Akhtar
A: 

You cannot hide address bar. Check the article.

Also check the link below.

http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/402ecb05-9833-4ca1-83f1-f486056a1c04

Himadri