[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2980
  • Last Modified:

javascript to remove/hide browser address bar or toolbar

Is it possible to remove/hide the browsers address bar or toolbar using Javascript for IE 7?
Im using the code below but I still see the address bar. Also, when the new page displays the exsisting ones data disappears and says [object], any ideas? Thanks.

"javascript: window.open("""+prodID+""",""Invoices"",""toolbar=no,scrollbars=no,location=no,resizable=no,width=625,height=550,left225,top=120"");"
0
Kmeli
Asked:
Kmeli
  • 6
  • 2
1 Solution
 
Gibu GeorgeCTOCommented:
IE 7 you cannot do it using javascript

0
 
Gibu GeorgeCTOCommented:
Sorry the second on will not worjk for you
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Gibu GeorgeCTOCommented:
See this
0
 
Gibu GeorgeCTOCommented:
We think the address bar is also important for users to see in pop-up windows. A missing address bar creates a chance for a fraudster to forge an address of their own. To help thwart that, IE7 will show the address bar on all internet windows to help users see where they are. IE7 will also help users avoid fraudulent sites if users choose to use the Phishing Filter to check a site for known phishing activity.
http://blogs.msdn.com/ie/archive/2005/11/21/495507.aspx
0
 
bugadaCommented:
The first argument must be an Url, and on my computer the toolbar is hidden. May be it depends on a local setting.
Avoid the javascript: protocol, unuseful and unsafe.
<input type="button" onclick='window.open("test.html","Invoices","toolbar=no,scrollbars=no,location=no,resizable=no,width=625,height=550,left225,top=120");'>

Open in new window

0
 
Gibu GeorgeCTOCommented:
It depends on a local setting, you can see in the attached screenshot, if theentry enclosed in black square is enabled then it will work
ie7.bmp
0
 
Numerouno1Commented:
my payment has been deducted from my credit card but,
this is not working at all
0
 
Numerouno1Commented:
i am using window xp....
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 6
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now