Go Premium for a chance to win a PS4. Enter to Win

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

Hide IE and Firefox toolbar

How can I hide IE  11 & Firefox toolbar in javascript? No Css, please.
0
jagr12
Asked:
jagr12
1 Solution
 
John HurstBusiness 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
 
Julian HansenCommented:
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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