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


Groups > comp.lang.javascript > #31318

Re: restore window alert

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: restore window alert
Date Sun, 11 Sep 2016 11:19:06 +0200
Organization PointedEars Software (PES)
Lines 21
Message-ID <1690736.PYKUYFuaPT@PointedEars.de> (permalink)
References <toydnbeQVIupLk3KnZ2dnUU7-KXNnZ2d@westnet.com.au> <18kx87e56fmrr.u0ghv1tkc6cu.dlg@40tude.net> <92e03e5f-e115-40d1-ba94-4b34459d8c14@googlegroups.com> <1760285.oMNUckLgyt@PointedEars.de> <5d40dd8b-f275-4add-b2ee-8c9593142c14@googlegroups.com>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Trace solani.org 1473585547 7091 eJwFwYkBwCAIA8CVDJog41ie/UfoHbeg9CPqcDgTKhIsM3d5oiy55BzUUiNeRtFu7w/97P4LNhCq (11 Sep 2016 09:19:07 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sun, 11 Sep 2016 09:19:07 +0000 (UTC)
User-Agent KNode/4.14.2
Cancel-Lock sha1:51uI1Ue98w3yTwJwOZKOKvYJ1ww=
X-User-ID eJwFwQkBwDAIA0BLhBIeOYUO/xJ2x+PwCXO6cbnwvsLJrXi3+h5EcUrBIyrK6dJBJfOtuVVA8WU0bquEfT84OBRz
X-NNTP-Posting-Host eJwFwYkBgDAIA8CVRJLQjoM8+4/gHV2mCogCl2v1BUdZCB6MTzQHd9Ryq3r32GYndLXxyH8mFxFG
Xref csiph.com comp.lang.javascript:31318

Show key headers only | View raw


Ram Tobolski wrote:

> On Saturday, September 10, 2016 at 5:26:30 PM UTC+3, Thomas 'PointedEars'
> Lahn wrote:
>>   var w = window.open();
>>   var _alert = w.alert;
>>   w.close();
>>   
> 
> This does not seem practical. First, it will actually open a redundant new
> browser window, or tab. Second, the close() method will not work, but will
> raise a cross-origin error (current window and new window will have
> different origins).

Nonsense.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

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


Thread

restore window alert Andrew Poulos <ap_prog@hotmail.com> - 2016-09-08 10:39 +1000
  Re: restore window alert "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-09-07 18:00 -0700
  Re: restore window alert JJ <jj4public@vfemail.net> - 2016-09-08 18:47 +0700
    Re: restore window alert "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-09-08 06:43 -0700
      Re: restore window alert Martin Honnen <martin.honnen@gmx.de> - 2016-09-08 16:32 +0200
        Re: restore window alert Andrew Poulos <ap_prog@hotmail.com> - 2016-09-09 14:49 +1000
          Re: restore window alert "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-09-09 06:20 -0700
      Re: restore window alert Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-09-10 16:26 +0200
        Re: restore window alert Ram Tobolski <ramtob@gmail.com> - 2016-09-11 00:17 -0700
          Re: restore window alert Andrew Poulos <ap_prog@hotmail.com> - 2016-09-11 17:57 +1000
          Re: restore window alert Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-09-11 11:19 +0200
        Re: restore window alert Andrew Poulos <ap_prog@hotmail.com> - 2016-09-11 19:00 +1000
          Re: restore window alert Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-09-11 13:24 +0200

csiph-web