CSS font stacks & developer FAQs with Web standards
Site navigation below

One of hundreds of answers available with our premium content service.

Part answer, see below for more

A: It is not possible to hide the address bar from an existing browser window, only for a new "pop-up" window created by Javascript. Having said that, many people use pop-up blockers, so you should think carefully before you use new windows. Tabbed browsers may be configured to create a new tab in this case and some might show the address regardless. For example, Firefox and Opera show the current address at the top of the window, but it is not editable.

In any case, the address of the page will be accessible from the browser history list and by inspecting the source code of the page. For these reasons it is important to test across a number of target browsers. It might be better to use a lightbox-style overlay for dynamically generated content or possibly an iframe for page content.

The features of the new browser window are set by the third argument of the window.open() method, after the window's URL and target name reference, as below. Several other features can be configured but should be used with caution because they can severely restrict the usability of the new browser window.

… full answer hidden

Click for full answers

Premium members click below for full answer
Can we hide the browser address bar?

Premium service benefits

Your premium content subscription is a single payment that gives you:

Home · Web fonts · Font stacks · FAQs · Java · CSS · Javascript · HTML · Site manager