What is the truth?

Microsoft's documentation describing the behaviour of their browser is correct.

Is there any solution to hide the addressbar?

No. If you could hide it, then you could use HTML/CSS to make something that looked like a common address bar. You could then put a different address in it. You could then trick people into thinking they were on a different site and entering their password for it.

It is impossible to conceal the user's location from them because it is essential for security that they know what their location is.

Answer from Quentin on Stack Overflow
Top answer
1 of 4
13

location is the window feature you want to set to no or 0 to hide the address bar.

Opinionated Advice: You can't rely on popups showing because most people have popup blockers installed to curb abuse, so if you can get away with it, don't use a pop up at all! Use something like the jQuery UI Dialog plugin.

Example:

window.open("http://www.mydomain.com/mypage.htm", "mywindow", "location=0,menubar=0,status=0,scrollbars=0,width=100,height=100");

Format

window.open( [Url] [, Name] [, Features] [, History] )

Window features you can control

  • status The status bar at the bottom of the window.
  • toolbar The standard browser toolbar, with buttons such as Back and Forward.
  • location The Location entry field where you enter the URL.
  • menubar The menu bar of the window
  • resizable Allow/Disallow the user to resize the window.
  • scrollbars Enable the scrollbars if the document is bigger than the window
  • height Specifies the height of the window in pixels. (example: height=’350′)
  • width Specifies the width of the window in pixels.
2 of 4
6

(untested)

Copyfunction openWindow(){
var browser=navigator.appName;
if (browser==”Microsoft Internet Explorer”)
{
window.opener=self;

}
window.open(‘filename.htm’,'null’,'width=900,height=750,
toolbar=no,scrollbars=no,location=no,resizable =yes’);
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height-100);
self.close();
}

Got this from http://saher42.wordpress.com/2006/08/10/hiding-the-address-bar-on-pageload-using-javascript/.

Discussions

Hide title bar or URL in Javascript window.open
Find answers to Hide title bar or URL in Javascript window.open from the expert community at Experts Exchange More on experts-exchange.com
🌐 experts-exchange.com
October 17, 2007
Moodle in English: Pop-up window without the address bar | Moodle.org
I want to hide the address bar, and my below code works well to pop up the URL but the address bar still shows the URL. How can I hide the URL from the window?

More on moodle.org
🌐 moodle.org
June 3, 2020
opening a new window and hiding the addressbar and ...
🌐 forum.jquery.com
Location=no but still i see addressbar - JavaScript - SitePoint Forums | Web Development & Design Community
hey all, i m working a web app in which i wanna remove the address bar after login. i created a function in which i said location=no but still i see the address bar. is there any other object to disable it? or am i doing it wrong More on sitepoint.com
🌐 sitepoint.com
0
April 1, 2010
🌐
SitePoint
sitepoint.com › javascript
Hide the browser address bar - JavaScript - SitePoint Forums | Web Development & Design Community
November 25, 2010 - I want to hide the browser address bar when open a new window. I can hide menu bar, status bar, etc except address bar. Can any one help me please.
🌐
Experts Exchange
experts-exchange.com › questions › 22898956 › Hide-title-bar-or-URL-in-Javascript-window-open.html
Solved: Hide title bar or URL in Javascript window.open | Experts Exchange
October 17, 2007 - We need to hide the URL so it is not apparent to a web user that the url has changed. I don't think it matters if the user wants to poke around and actually sees the URL but we don't want to make it obvious. I've reviewed many posts on EE and found some great solutions but none of them are actually hiding the the title bar. Here's the solution I liked the best and tried to implement. <script language="JavaScript"> <!-- function openWindowNew( windowURL, windowName) { windowFeatures='width=518,
🌐
Moodle
moodle.org › mod › forum › discuss.php
Moodle in English: Pop-up window without the address bar | Moodle.org
June 3, 2020 - I want to hide the address bar, and my below code works well to pop up the URL but the address bar still shows the URL. How can I hide the URL from the window? <p><a href="#" onclick="window.open('https://xxx/', 'winname', 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menuba...
🌐
SitePoint
sitepoint.com › javascript
Location=no but still i see addressbar - JavaScript - SitePoint Forums | Web Development & Design Community
April 1, 2010 - hey all, i m working a web app in which i wanna remove the address bar after login. i created a function in which i said location=no but still i see the address bar. is there any other object to disable it? or am i doin…
🌐
Vivaldi
forum.vivaldi.net › topic › 27964 › hide-address-bar-in-popup-windows
Hide Address Bar in Popup Windows | Vivaldi Forum
March 20, 2025 - However, if I press that shortcut key combo in the popup window, it toggles the address bar in all the open normal windows instead. Tested on Vivaldi 1.15.1147.42 (Stable channel) (32-bit). ... Old Opera Presto had something they called a security bar in pop-ups - not a full-fledged address bar but just a line where the site name would be displayed.
Find elsewhere
🌐
Dotnetspider
dotnetspider.com › forum › 330532-How-hide-address-bar-while-opening-window
How to hide address bar while opening the window?
October 18, 2013 - for Internet explorer you can use ... hope it helps ... Hai Pinky, In window.Open JavaScript method, location attribute is for showing the address bar.So you an make it as 'no'so that it will not appear as top of the ...
🌐
HTML Forums
htmlforums.net › home › website development
How to hide the address bar in a popup window in HTML? | HTML Forums | An HTML and CSS Coding Community
November 16, 2023 - They may offer more versatility but unfortunately, I do not think JavaScript alone may not be able to help with this. Another option would be to use a frameless overlay. You can create a div element or some other element and utilize custom styling to "function" or "look like" a frameless window but this not be the option you are looking for either. ... The problem is that modern browsers focus on implementing security and transparency to their users. window. Open is the proper JavaScript call but most browsers may ignore the request for a frameless browser window.
🌐
CodeProject
codeproject.com › Questions › 444796 › open-new-window-with-no-address-bar-in-javascript
https://www.codeproject.com/Questions/444796/open-...
Do not try and find the page. That’s impossible. Instead only try to realise the truth - For those who code; Updated: 1 Jul 2007
🌐
Mozilla Bugzilla
bugzilla.mozilla.org › show_bug.cgi
337344 - Disable location bar hiding by default, to make chrome spoofing harder
Firefox has had support for a cool anti-phishing microbar that shows the true location of a page even on popups that disable the full-size location bar, simply by changing the pref dom.disable_open_window_feature.location to true. When we first tried setting this before Firefox 1.0 shipped (see bug 22183 comment 120 and following) and got a lot of pushback.
🌐
Salesforce Developers
developer.salesforce.com › forums
How to Disable popup window Address bar?
November 6, 2014 - On December 4, 2023, Salesforce Developers discussion forums joined the Trailblazer Community. Learn more with our FAQs!
🌐
Stack Overflow
stackoverflow.com › questions › 49356289 › remove-the-address-bar-and-location-bar-in-window-open-javascript › 49356415
c# - remove the address bar and location bar in window.open javascript - Stack Overflow
function OpenPopupWindow() { var ... window.open("EnhanceTerms.aspx", "window", settings); } As I expected, the address bar is not showing when i open this page in firefox and IE, but in Chrome it is still showing. And also how to hide the minimize and maximize from the ...
🌐
Dynamics Community
community.dynamics.com › forums › thread › details
Window.Open without addressbar - Dynamics 365 Community
September 22, 2017 - As per our requirement we're using window.open to show a entity data within our onpremise CRM html webresource page but for security purpose we just wanted to hide the addressbar, Could you please anyone let me know is there any possibilities · window.open(URL, "Lookup", 'status=no, toolbar=no, ...
🌐
SitePoint
sitepoint.com › javascript
New window without address bar - JavaScript - SitePoint Forums | Web Development & Design Community
June 24, 2010 - I want to open a new window without address bar in IE7 or IE8. Below is the code I used .It worked in FF but not in IE. any idea how to do that var width=300; var height=200; var from_top=350; var from_left=500; var toolbar='no'; var location='no'; var directories='no'; var status='no'; var menubar='no'; var scrollbars='yes'; var resizable='yes'; var atts='width='+width+'show,height='+height+',top='+from_top+',screenY='; atts+= from_top+',left='+from_left+',screenX='+from_left+',toolbar='+tool...