Can we hide the browser address bar?
By Saud Rana
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.
Can we hide the browser address bar? (879 Views)