Osmo Saarikumpu
5/22/2014 2:05:00 PM
On 21.5.2014 19:47, Dr J R Stockton wrote:
> This code, in my (current) Firefox, generates a new window with an
> unwanted bar.
>
> function MakeWindow(K) {
> var Win = window.open("", "_blank",
> "width=678,height=800,scrollbars=yes")
> Win.document.write(FigBody(K, true)) }
>
> The top bar is blue, with logo and "Mozilla Firefox" to the left and the
> usual three buttons to the right. The unwanted bar follows, grey, with
> to the left a symbol followed by the URL of the parent page. The rest
> contains the value from FigBody.
That would be the Location bar, which your code implicitly sets to:
location=no
as setting only scrollbars would implicitly turn of other properties.
Thus, the location bar being visible is due to FF security settings
(from about ver. 3 IIRC), which do not allow hiding it anymore.
> Can the unwanted bar be removed, and if so how, preferably in all
> browsers?
I guess not, although you may remove it from your copy of FF via
about:config by setting:
dom.disable_window_open_feature.location
to false.
--
Best wishes, Osmo