Solved

How to hide toolbar, statusbar, menubar, locationbar of an existing window under Internet Explorer ?

Posted on 2003-12-08
6
3,863 Views
Last Modified: 2008-02-01
Hello

How to hide toolbar, statusbar, menubar, locationbar of an existing window under Internet Explorer ?

Thanx in advance.

0
Comment
Question by:nico51
  • 3
  • 2
6 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 50 total points
ID: 9897261
Not possible unless you abuse ActiveX.
And scripts that open a new window and tries to close the main window are considered denial of service attacks and are not allowed to be posted here (and rightly shouldn't)
If you decide to accept this comment as an answer, please do not punish the bearer of bad news just because you do not LIKE the answer

Thanks

Michel
0
 
LVL 16

Expert Comment

by:jaysolomon
ID: 9897268
you can NOT do this in the parent window or main window.

You can do it in a pop up window, is this what you want
0
 
LVL 16

Expert Comment

by:jaysolomon
ID: 9897408
sorry michel did not see your post

nico51 mplungjan is correct in his statement above.

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 31

Expert Comment

by:GwynforWeb
ID: 9900068
There are a few things you can do if it is not your window

You cannot remove toolbars from IE. You can remove the scrollbars by having scroll="no" in the  body tag.

In Netscape, you can do this:

netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
window.menubar.visible=!window.menubar.visible;  

but the user is prompted for permission

0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 9900494
and
javascript:document.body.scroll='yes'
will get them back ;)
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 9900504
sorry, that was
javascript:void(document.body.scroll='yes')
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

939 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

6 Experts available now in Live!

Get 1:1 Help Now