?
Solved

Window.open location problem

Posted on 2010-08-18
2
Medium Priority
?
596 Views
Last Modified: 2013-12-08
Hi there.  I'm using the following javascript to open a window.  The issue is that on SOME client machines, the window opens displaying the URL bar (Location) even though that option is set to "no".  I'm not certain if this is a browser setting or something wrong with my code.  It works on most PCs.  Today's offender was running windows XP with IE8.  I tried vewing both in and out of compatility view and there were no changes.  

Ordinarily I wouldn't care so much, but it's nice to hide the URL.  In addition we are using our application with some screen-scraping software and this extra bar on SOME of the machines is throwing things off.  

HELP! :)




window.open('sl/index.htm', '_blank', 'width=1016,height=660,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no')
        window.open('', '_parent', '');

Open in new window

0
Comment
Question by:Jeremy Morel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
andrewlorien earned 1000 total points
ID: 33471303
the location setting isn't all that reliable.

in FireFox, the user can decide whether to allow hiding of the location bar, and FF3 shows the location bar by default.
in IE7 and greater, the location setting actually controls whether the toolbar is hidden, not the location bar (which is always displayed)
and of course, all modern browsers have popup warnings, so your users will have to say ok to your popup window before they see it anyway.

0

Featured Post

ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question