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


Groups > comp.lang.javascript > #13439 > unrolled thread

turn off browser window

Started by"Haris Bogdanovich" <fbogdanovic@xnet.hr>
First post2012-04-18 18:17 +0200
Last post2012-04-20 08:30 +0000
Articles 8 — 7 participants

Back to article view | Back to comp.lang.javascript


Contents

  turn off browser window "Haris Bogdanovich" <fbogdanovic@xnet.hr> - 2012-04-18 18:17 +0200
    Re: turn off browser window Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-18 18:21 +0200
    Re: turn off browser window Arno Welzel <usenet@arnowelzel.de> - 2012-04-18 19:58 +0200
      Re: turn off browser window "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-18 21:48 +0000
      Re: turn off browser window SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-04-19 13:37 +0200
    Re: turn off browser window Scott Sauyet <scott.sauyet@gmail.com> - 2012-04-19 11:13 -0700
    Re: turn off browser window Dr J R Stockton <reply1216@merlyn.demon.co.uk.not.invalid> - 2012-04-19 17:48 +0100
      Re: turn off browser window "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-20 08:30 +0000

#13439 — turn off browser window

From"Haris Bogdanovich" <fbogdanovic@xnet.hr>
Date2012-04-18 18:17 +0200
Subjectturn off browser window
Message-ID<jmmpfh$kc4$1@gregory.bnet.hr>
Hi.

Can I turn off browser window with javascript and how ?

Thanks 

[toc] | [next] | [standalone]


#13440

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2012-04-18 18:21 +0200
Message-ID<1400008.AFRqVoOGUt@PointedEars.de>
In reply to#13439
Haris Bogdanovich wrote:

> Can I turn off browser window with javascript and how ?

No, you can not. (sic!)

<http://www.catb.org/~esr/faqs/smart-questions.html>


PointedEars
-- 
    realism:    HTML 4.01 Strict
    evangelism: XHTML 1.0 Strict
    madness:    XHTML 1.1 as application/xhtml+xml
                                                    -- Bjoern Hoehrmann

[toc] | [prev] | [next] | [standalone]


#13447

FromArno Welzel <usenet@arnowelzel.de>
Date2012-04-18 19:58 +0200
Message-ID<4F8F00DD.1000909@arnowelzel.de>
In reply to#13439
Haris Bogdanovich, 2012-04-18 18:17:

> Can I turn off browser window with javascript and how ?

What ever you mean with "turn off browser window"...


-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de

[toc] | [prev] | [next] | [standalone]


#13448

From"Evertjan." <exjxw.hannivoort@interxnl.net>
Date2012-04-18 21:48 +0000
Message-ID<XnsA039F2240A551eejj99@194.109.133.133>
In reply to#13447
Arno Welzel wrote on 18 apr 2012 in comp.lang.javascript:

> Haris Bogdanovich, 2012-04-18 18:17:
> 
>> Can I turn off browser window with javascript and how ?
> 
> What ever you mean with "turn off browser window"...

Whatever turns you off?


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#13453

FromSAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid>
Date2012-04-19 13:37 +0200
Message-ID<4f8ff8f2$0$21474$ba4acef3@reader.news.orange.fr>
In reply to#13447
Le 18/04/12 19:58, Arno Welzel a écrit :
> What ever you mean with "turn off browser window"...


window.disabled = true;


???



-- 
Stéphane Moriaux avec/with iMac-intel

[toc] | [prev] | [next] | [standalone]


#13461

FromScott Sauyet <scott.sauyet@gmail.com>
Date2012-04-19 11:13 -0700
Message-ID<0c418f78-38ea-4339-88ed-b346dbd73414@m13g2000yqi.googlegroups.com>
In reply to#13439
Haris Bogdanovich wrote:
> Can I turn off browser window with javascript and how ?

I'm not sure I understand the question.  But if you're talking about
closing the browser window, then...

If you want to close a window you've created, and you have a reference
to it, say `myWindow`, you might want to try

    myWindow.close();

Otherwise, you generally can't do so, at least not without the browser
confirming the request with the user.

More information is in the FAQ [1]

  -- Scott

[1] http://jibbering.com/faq/#windowClose

[toc] | [prev] | [next] | [standalone]


#13464

FromDr J R Stockton <reply1216@merlyn.demon.co.uk.not.invalid>
Date2012-04-19 17:48 +0100
Message-ID<anTZAaHmHEkPFwH2@invalid.uk.co.demon.merlyn.invalid>
In reply to#13439
In comp.lang.javascript message <jmmpfh$kc4$1@gregory.bnet.hr>, Wed, 18
Apr 2012 18:17:53, Haris Bogdanovich <fbogdanovic@xnet.hr> posted:

>Can I turn off browser window with javascript and how ?

You can close daughter windows that you have opened.  See, via sig, FAQ
10.6 How do I close a window and why does it not work on the first one?

-- 
 (c) John Stockton, nr London UK  ?@merlyn.demon.co.uk  IE8 FF8 Op11 Sf5 Cr15
   news:comp.lang.javascript FAQ <http://www.jibbering.com/faq/index.html>.
   <http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
   <http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

[toc] | [prev] | [next] | [standalone]


#13468

From"Evertjan." <exjxw.hannivoort@interxnl.net>
Date2012-04-20 08:30 +0000
Message-ID<XnsA03B6AE60B585eejj99@194.109.133.133>
In reply to#13464
Dr J R Stockton wrote on 19 apr 2012 in comp.lang.javascript:

> In comp.lang.javascript message <jmmpfh$kc4$1@gregory.bnet.hr>, Wed, 18
> Apr 2012 18:17:53, Haris Bogdanovich <fbogdanovic@xnet.hr> posted:
> 
>>Can I turn off browser window with javascript and how ?
> 
> You can close daughter windows that you have opened.  See, via sig, FAQ
> 10.6 How do I close a window and why does it not work on the first one?

Perhaps it is just a tab, not a window you are closing.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web