PDA

View Full Version : Popup a browser window without a address bar



Shabina
Jun 16th, 2002, 10:32 AM
:)
When redirecting a new window, the window should not contain a address bar or the url input text bar.

How this can be done.

joh6nn
Jun 16th, 2002, 01:10 PM
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

sindy12
Aug 5th, 2011, 11:54 AM
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?

Philip M
Aug 5th, 2011, 12:51 PM
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.