Hide IE and Firefox toolbar

How can I hide IE  11 & Firefox toolbar in javascript? No Css, please.
jagr12Asked:
Who is Participating?
 
Julian HansenConnect With a Mentor Commented:
You can't hide a toolbar with javascript - it is a user preference. If you open a new window like the previous posts suggests you can turn the toolbars off but in some browsers users can turn them on again.

For security reasons you do not have control over the displaying of toolbars in a browser.
0
 
JohnBusiness Consultant (Owner)Commented:
For IE, right click in the blank space where the toolbars are and select what you do and do not want.

I am not familiar with Firefox
0
 
jagr12Author Commented:
In Java script
0
 
Ramkisan JagtapLead DeveloperCommented:
function openWindow(){
var browser=navigator.appName;
if (browser==”Microsoft Internet Explorer”)
{
window.opener=self;

}
window.open(‘filename.htm’,'null’,'width=900,height=750,
toolbar=no,scrollbars=no,location=no,resizable =yes’);
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height-100);
self.close();
}

Open in new window

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.

All Courses

From novice to tech pro — start learning today.