Solved

Hide IE  and Firefox toolbar

Posted on 2016-09-22
5
59 Views
Last Modified: 2016-10-16
How can I hide IE  11 & Firefox toolbar in javascript? No Css, please.
0
Comment
Question by:jagr12
5 Comments
 
LVL 92

Expert Comment

by:John Hurst
ID: 41811740
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
 

Author Comment

by:jagr12
ID: 41811741
In Java script
0
 
LVL 12

Expert Comment

by:Ramkisan Jagtap
ID: 41812013
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
 
LVL 52

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41812248
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

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

929 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

13 Experts available now in Live!

Get 1:1 Help Now