[cc-devel] same origin policy workaround?

Michael Aram michael.aram at wu-wien.ac.at
Thu May 17 13:14:03 EDT 2007


hello guys!

I want to integrate the default CC chooser into an ajax app. thus, I use an
iframe to embed it into a DIV container. I tried to use the exit_url
parameter to call a javascript function on my page by it to

exit_url=javascript:parent.function('foo');

unfortunately, the same origin policy prevents the funtion from being
executed. how can I pass the results of the "choosing process" to the parent
frame, i.e. my site? I dont want the page to be refreshed, because its an
ajax app...

and I dont want to use  the REST api, cause I'm too lazy ;-)

thanks for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/cc-devel/attachments/20070517/e5a72b2b/attachment.htm 


More information about the cc-devel mailing list