Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <4863656.Y3eb4HivdN@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 10 Jan 2014 01:07:47 +0100 User-Agent: KNode/4.11.3 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <2682810.tskAjyEyLv@PointedEars.de> MIME-Version: 1.0 Lines: 35 NNTP-Posting-Date: 10 Jan 2014 01:07:50 CET NNTP-Posting-Host: 568362c9.newsspool1.arcor-online.net X-Trace: DXC=[ZcO70AX8dZ@>[RYkFXOIPic==]BZ:af^4Fo<]lROoRQnkgeX?EC@@P9]aE[9kcEZ]DZm8W4\YJN\YUVHKH;GI^WcV`9``B>N^ZQe[d_l9k8VP X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:22545 Andrew Poulos wrote: > On 10/01/2014 9:17 AM, Thomas 'PointedEars' Lahn wrote: >> Andrew Poulos wrote: >>> There's a window that opens an elearning course. >> ^^^^^^ >>> In the opener there's a js object that's populated with info such as the >>> user ID, course progress... >>> >>> The course is written by a 3rd party (meaning, I cannot edit the course) >>> and uses a new "standard" that only allows for communication via AJAX. >>> >>> Is there a way to get the elearning course to get info from the opener's >> ^^^^^^ >>> js object rather than going to the server? It seems a waste to go to the >>> server for info that is available locally. >> >> You have named the key words to do this already. > > I know how to query a window's opener from the window but if the course > can only make a call like > > var xhr = new XMLHttpRequest(); > xhr.open('get', 'http://www.track.com/the/project.php?find=progress'); > xhr.send(); > > how does it get info from the window opener? It cannot. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.