Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #24343

Re: Omitting a bar

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Osmo Saarikumpu <osmo@weppipakki.com>
Newsgroups comp.lang.javascript
Subject Re: Omitting a bar
Date Thu, 22 May 2014 17:04:32 +0300
Organization A noiseless patient Spider
Lines 34
Message-ID <lll05p$jls$1@dont-email.me> (permalink)
References <xWgKOeoOiNfTFwYm@invalid.uk.co.demon.merlyn.invalid>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 22 May 2014 14:04:41 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="d950e4383394612b252c46c75bbfc2e9"; logging-data="20156"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ivuiCufe4PzckEo8UgRdF"
User-Agent Mozilla/5.0 (Windows NT 6.0; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
In-Reply-To <xWgKOeoOiNfTFwYm@invalid.uk.co.demon.merlyn.invalid>
Cancel-Lock sha1:aMbddwFP3S59wuK6jsqICdWmn88=
Xref csiph.com comp.lang.javascript:24343

Show key headers only | View raw


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

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Omitting a bar Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> - 2014-05-21 17:47 +0100
  Re: Omitting a bar JJ <duh@nah.meh> - 2014-05-22 07:42 +0700
  Re: Omitting a bar Osmo Saarikumpu <osmo@weppipakki.com> - 2014-05-22 17:04 +0300
    Re: Omitting a bar Dr J R Stockton <reply1400@merlyn.demon.co.uk.invalid> - 2014-05-23 21:11 +0100
      Re: Omitting a bar Osmo Saarikumpu <osmo@weppipakki.com> - 2014-05-25 15:53 +0300

csiph-web