user441222
user441222

Reputation: 2001

How to hide menubar, ftoolbar in IE

There is a HTML page. I would like to hide the menubar, ftoolbar in IE when the page id opened.

I do not want to open the page from another web page (window.open(....)). I just want to open the current web page directly!

How can I do this with jQuery or plain JavaScript?

Upvotes: 0

Views: 978

Answers (1)

Brock
Brock

Reputation: 1645

I don't think you can. http://msdn.microsoft.com/en-us/library/ie/ms535873(v=vs.85).aspx#properties There is no properties dealing with browser menu bars.

I believe the main reason - is the security risk they create. Imagine how mad user would become if he couldn't click "Back" or type new web adress after your page loads? And what if your page hacked to become a browsers homepage? This would result in browser being bugged.

Upvotes: 1

Related Questions