Solved

javascript to remove/hide browser address bar or toolbar

Posted on 2009-05-07
9
2,944 Views
Last Modified: 2012-05-06
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
Comment
Question by:Kmeli
  • 6
  • 2
9 Comments
 
LVL 12

Expert Comment

by:Gibu George
Comment Utility
IE 7 you cannot do it using javascript

0
 
LVL 12

Expert Comment

by:Gibu George
Comment Utility
0
 
LVL 12

Expert Comment

by:Gibu George
Comment Utility
Sorry the second on will not worjk for you
0
 
LVL 12

Expert Comment

by:Gibu George
Comment Utility
See this
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 12

Expert Comment

by:Gibu George
Comment Utility
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
 
LVL 10

Expert Comment

by:bugada
Comment Utility
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
 
LVL 12

Accepted Solution

by:
Gibu George earned 500 total points
Comment Utility
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
 

Expert Comment

by:Numerouno1
Comment Utility
my payment has been deducted from my credit card but,
this is not working at all
0
 

Expert Comment

by:Numerouno1
Comment Utility
i am using window xp....
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now