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


Groups > comp.lang.javascript > #36193

Re: Initiate window.

Newsgroups comp.lang.javascript
Date 2019-03-27 06:38 -0700
References <d97e2283-aab1-4c63-8682-e0a4fce9ac25@googlegroups.com> <15b8c3ff-18b1-4969-abc3-8f3dbbc5211b@googlegroups.com>
Message-ID <34e13469-e669-404a-afbb-820aabebb54c@googlegroups.com> (permalink)
Subject Re: Initiate window.
From Jonas Thörnvall <jonas.thornvall@gmail.com>

Show all headers | View raw


Den onsdag 27 mars 2019 kl. 14:34:38 UTC+1 skrev Jonas Thörnvall:
> Den onsdag 27 mars 2019 kl. 14:31:05 UTC+1 skrev Jonas Thörnvall:
> > I have a problem, the script functionality do not work until i focus the windows "frame" with the mouse.
> > 
> > I have tried use the focus method but it does not work.
> > So is there a way simulate someone poking it.
> > 
> > parent.extSFsynth.focus();
> 
> Well it is chrome by the way in opera it work just fine, without any focus or poking.

It is kind of annoying...
https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio

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


Thread

Initiate window. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-27 06:30 -0700
  Re: Initiate window. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-27 06:32 -0700
  Re: Initiate window. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-27 06:34 -0700
    Re: Initiate window. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-27 06:38 -0700

csiph-web