Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #24470 > unrolled thread
| Started by | Andrew Poulos <ap_prog@hotmail.com> |
|---|---|
| First post | 2014-05-30 11:24 +1000 |
| Last post | 2014-05-31 14:45 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.javascript
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
| From | Andrew Poulos <ap_prog@hotmail.com> |
|---|---|
| Date | 2014-05-30 11:24 +1000 |
| Subject | window.opener iOS |
| Message-ID | <LPWdnV4eLbjDQxrOnZ2dnUVZ_jadnZ2d@westnet.com.au> |
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?
Andrew Poulos
[toc] | [next] | [standalone]
| From | Christoph Michael Becker <cmbecker69@arcor.de> |
|---|---|
| Date | 2014-05-30 13:51 +0200 |
| Message-ID | <538870cf$0$6654$9b4e6d93@newsspool3.arcor-online.net> |
| In reply to | #24470 |
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>.
--
Christoph M. Becker
[toc] | [prev] | [next] | [standalone]
| From | Andrew Poulos <ap_prog@hotmail.com> |
|---|---|
| Date | 2014-05-31 16:25 +1000 |
| Message-ID | <GPCdnRbgoNb_6xTOnZ2dnUVZ_uudnZ2d@westnet.com.au> |
| In reply to | #24472 |
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
[toc] | [prev] | [next] | [standalone]
| From | danca <cyberdanny@tiscalinet.it> |
|---|---|
| Date | 2014-05-31 14:45 +0200 |
| Message-ID | <lmcisf$5o2$1@dont-email.me> |
| In reply to | #24502 |
Il 31/05/2014 08:25, Andrew Poulos ha scritto: >>> 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 > Maybe via sessionStorage? Dan
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web