• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1107
  • Last Modified:

Hide the toolbar in current window

When my html page loads on the broser i dont want the toolbar to appear on my browser so i added the statement


in my html, but the browser gives a javascript error saying that

"self.toolbar is not an object".

What might be the problem?
How can i correct it?

My Html Code

        <H1>Hello World!</H1>
        <Script Language="JavaScript">

1 Solution
The correct syntax is:
window.toolbar.visibility = false;
But that requires a signed script to work and only works in Netscape.

ANother solution which is only netscape but doesn't need to be signed would be to put this at the head of your document:
<SCRIPT language="JavaScript">
// -->

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.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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