Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3003
  • 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 GeorgeChief Technology OfficerCommented:
IE 7 you cannot do it using javascript

0
 
Gibu GeorgeChief Technology OfficerCommented:
0
 
Gibu GeorgeChief Technology OfficerCommented:
Sorry the second on will not worjk for you
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Gibu GeorgeChief Technology OfficerCommented:
See this
0
 
Gibu GeorgeChief Technology OfficerCommented:
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 GeorgeChief Technology OfficerCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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