Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #24502
| Date | 2014-05-31 16:25 +1000 |
|---|---|
| From | Andrew Poulos <ap_prog@hotmail.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: window.opener iOS |
| References | <LPWdnV4eLbjDQxrOnZ2dnUVZ_jadnZ2d@westnet.com.au> <538870cf$0$6654$9b4e6d93@newsspool3.arcor-online.net> |
| Message-ID | <GPCdnRbgoNb_6xTOnZ2dnUVZ_uudnZ2d@westnet.com.au> (permalink) |
On 30/05/2014 9:51 PM, Christoph Michael Becker wrote:
> Andrew Poulos wrote:
>
>> I have a page with this
>> <script type='text/javascript' src='myscript.js'>
>> in the head. 'myscript.js' contains an object called 'API'.
>>
>> A user clicks on a button to open a new window and the new window checks
>> for the existence of API in the opener.
>>
>> API is found when I test with every browser I have off the desktop but
>> if I test with iOS Chrome errors with "API cannot be found".
>>
>> I've narrowed the problem to this
>> window.alert("win= "+window+" + "+window.opener);
>> with Chrome on iOS displays
>> win= [object Window] + null
>> even though the opener window/tab exists.
>>
>> How do I reference the opener with Chrome and iOS?
>
> Most likely you can't, see
> <http://stackoverflow.com/questions/14637937/window-opener-not-set-in-ios-chrome>.
The client has a learning management system (LMS) which opens elearning
courses in new windows. The elearning courses report progress, scores...
back to the LMS. If window.open is always null then the LMS and the
courses are worthless (in some situations) to the client. Which means
I'm snookered.
Is there a way for Chrome on iOS to communicate with other tabs?
Andrew Poulos
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
window.opener iOS Andrew Poulos <ap_prog@hotmail.com> - 2014-05-30 11:24 +1000
Re: window.opener iOS Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-30 13:51 +0200
Re: window.opener iOS Andrew Poulos <ap_prog@hotmail.com> - 2014-05-31 16:25 +1000
Re: window.opener iOS danca <cyberdanny@tiscalinet.it> - 2014-05-31 14:45 +0200
csiph-web