Helpful Information
 
 
Category: JavaScript programming
Popup a browser window without a address bar

:)
When redirecting a new window, the window should not contain a address bar or the url input text bar.

How this can be done.

when you open a window with javascript, you get to specify what parts of the window to show.

window.open( 'url.htm', 'windowname', 'options');

the options include
width = #,
height = #,
top (for IE) / ScreenY (for NS) = #,
left (for IE) / Screenx (for NS) = #,
scrollbars,
location,
resizable,
status,
toolbar,
menubar,
fullscreen

only the ones you specifically list, are used. so if you use

window.open('url.htm', 'windowname', 'scrollbars,resizable,status,toolbar,menubar');
then you'll have a window, with no location/address bar

Hello When trying to disable the "location" through "windown.open location=no" and settinging the "about:config" to "dom.disable_window_open_feature.location=false" the Firefox still "tells" the "location" in the Title bar, like "wwww.my_window_location .... my_window_name". Is there a solution to this, this is an example of a business application?

sindy12 - please do not revive ancient threads. Start a new thread of your own.

The answer is no - security considerations mean that it is not possible to display a "false" URL in the title bar.


All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.










privacy (GDPR)