Not really sure about the address bar being read-only when location=no. Maybe for some. But as for me, I tried in IE 7, I can still input links and navigate through it. To me looks like an IE bug. Any solutions on this?
-dongzky
The behavior described in this comment is by-design. In Internet Explorer 7 and later, you cannot remove the address bar in Internet Zone windows, for security (anti-spoofing) reasons. As described in the MSDN article above, in IE7 and later, location=no simply hides the back/forward/stop navigation buttons, and makes the address bar read-only. (The reason you can hide the address bar when the file is saved locally is that the file is opened in the Local Machine zone rather than the Internet Zone.)
-EricLaw, Program Manager, Internet Explorer Security.
The address bar is not supposed to come in a pop up, if we are setting "location=no" in the input "Features" of window.open(). It is coming at certain situations as follows. Please let me know why it is coming like that.
Steps to reproduce this issue
<html>
<head>
<title>GL Page and Pax page previews using javascript pop ups</title>
</head>
<body>
<div>
<a href="#" onclick="javascript:window.open('http://www.live.com', '_blank','top=100, left=100, height=740, width=780, status=no, menubar=no, resizable=no, scrollbars=yes, toolbar=no, location=no, directories=no');">
Live Search
</a>
</div>
</body>
</html>
- Click on the button "Edit the text and click me"
- Click on the "Live Search" link on the HTML frame
- A pop up will be generated with an address bar.
Ps: Please note that the same code will work fine, if you are copy pasting it to a notepad and saving it as an HTM file and running on local
Regards,
--Kiran Chand--