Comments for easyXDM https://easyxdm.net/wp Cross-Domain Messaging made easy Thu, 20 Apr 2017 18:47:42 +0000 hourly 1 https://wordpress.org/?v=4.9.34 Comment on Setting up your first Socket by oyvind.kinsey https://easyxdm.net/wp/2010/03/17/setting-up-your-first-socket/comment-page-1/#comment-1601 Thu, 20 Apr 2017 18:47:42 +0000 http://easyxdm.net/blog/?p=56#comment-1601 Better late than never?

provider/consumer is the nomenclature for iframe/host, so the parent will always be the consumer, and the iframe will always be the provider.

easyXDM is fully bidirectional, so as long as you have code running in both windows, you can expose/call methods in any direction. See the RPC examples for more on this.

]]>
Comment on Setting up your first Socket by fsantiago https://easyxdm.net/wp/2010/03/17/setting-up-your-first-socket/comment-page-1/#comment-1592 Tue, 30 Aug 2016 07:12:00 +0000 http://easyxdm.net/blog/?p=56#comment-1592 Hi Sean,

Thank you for this great tool.

Is it possible for an to invoke methods in the parent window with easyXDM?

The parent window would be the provider and the iframe the consumer.

Kind reagards

]]>
Comment on Supported browsers by Aktham Nassar https://easyxdm.net/wp/2010/03/23/supported-browsers/comment-page-1/#comment-1590 Wed, 23 Mar 2016 19:55:00 +0000 http://easyxdm.net/wp/?p=112#comment-1590 Hello

easyXDM working just fine in IE8, but in IE11 I am getting a javascript error from provider page:
File: Provider.html, Line: 24, Column: 18927
“Unable to get property ‘parse’ of undefined or null reference”

Can you please help?

]]>
Comment on Adding easyXDM to your project, including debugging tools by KTo ETo https://easyxdm.net/wp/2010/03/17/adding-easyxdm-to-your-project-including-debugging-tools/comment-page-1/#comment-1589 Fri, 13 Nov 2015 05:13:00 +0000 http://easyxdm.net/blog/?p=21#comment-1589 Hi, all. Can i use easyXDM in google chrome extentions? Many thanks!

]]>
Comment on Microsoft Security Bulletin MS11-018 by Anil https://easyxdm.net/wp/2011/04/13/microsoft-security-bulletin-ms11-018/comment-page-1/#comment-1588 Fri, 22 May 2015 12:39:00 +0000 http://easyxdm.net/wp/?p=396#comment-1588 Great Work,

For IE i am getting

” SEC7118: XMLHttpRequest for http://fls-na.amazon.com/1/batch/1/OE/ required Cross Origin Resource Sharing (CORS) ”

I have include “easyXDM.js” and “flashTransport.js” both side still i am not able to read the Local Storage and Cookie value’s.

]]>
Comment on Resize iframe based on content by Harold Kim https://easyxdm.net/wp/2010/03/17/resize-iframe-based-on-content/comment-page-2/#comment-1587 Tue, 16 Sep 2014 07:31:00 +0000 http://easyxdm.net/blog/?p=10#comment-1587 Hi,

I am trying to track the user based action inside an iframe. Basically the content in the iframe is a website that I dont have control of. Currently I am having problems like “Blocked a frame with origin from accessing a frame with origin”.

Is this possible using easyXDM?

If the answer is yes, how do I do it? best if you can point me to an example.

]]>
Comment on Cross-domain AJAX by Pradeep Viswanathan R https://easyxdm.net/wp/2010/03/17/cross-domain-ajax/comment-page-1/#comment-1586 Thu, 28 Aug 2014 12:40:00 +0000 http://easyxdm.net/blog/?p=12#comment-1586 Hi there, i am newly exploring EasyXDM, does this method work on date? i was just checking out examples and get an error – not sure if its just a code fix.

]]>
Comment on Setting up your first Socket by Godwyn https://easyxdm.net/wp/2010/03/17/setting-up-your-first-socket/comment-page-1/#comment-1585 Tue, 29 Jul 2014 02:34:00 +0000 http://easyxdm.net/blog/?p=56#comment-1585 this is the log on my console;

localhost – 02:31:32.757: easyXDM present on ‘http://localhost/easyXDM/iframeIndex.html easyXDM.debug.js:960

localhost – 02:31:32.763: easyXDM.Socket: constructor easyXDM.debug.js:960

localhost – 02:31:32.764: {Private}: preparing transport stack easyXDM.debug.js:960

Uncaught Error: url is undefined or empty easyXDM.debug.js:323

localhost – 02:31:32.764:{Private}: firing dom_onReady easyXDM.debug.js:1005

localhost – 02:31:32.765:… deferred messages … easyXDM.debug.js:1005

localhost – 02:31:32.765:easyXDM.Socket: constructor easyXDM.debug.js:1005

localhost – 02:31:32.765:{Private}: preparing transport stack easyXDM.debug.js:1005

localhost – 02:31:32.765:… end of deferred messages … easyXDM.debug.js:1005

Denying load of chrome-extension://ijlibpgjojobipinhbmalkgonbchckpp/jquery-1.10.2.min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. iframeIndex.html:1

]]>
Comment on Setting up your first Socket by Godwyn https://easyxdm.net/wp/2010/03/17/setting-up-your-first-socket/comment-page-1/#comment-1584 Tue, 29 Jul 2014 02:24:00 +0000 http://easyxdm.net/blog/?p=56#comment-1584 Hi Sean, I am having problems connecting the provider to the consumer and re-sizing the iframe. I keep getting the same error “Uncaught Error: url is undefined or empty” when I log on console. Can you help me

**** snippet for consumer ****

new easyXDM.Socket({

remote: “http://provider.easyxdm.net/example/resized_iframe.html”,

container: document.getElementById(“iframe-container”),

onMessage: function(message, origin){

this.container.getElementsByTagName(“iframe”)[0].style.height = message + “px”;

}

});

**** snippet for provider (Iframe) *****

var socket = new easyXDM.Socket({

onReady: function(){

socket.postMessage(document.body.scrollHeight);

}

});

]]>
Comment on Sending and receiving messages by Emanuele Ciriachi https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1583 Thu, 12 Jun 2014 17:48:00 +0000 http://easyxdm.net/blog/?p=16#comment-1583 Can anyone point to a page with a more coincise example?

]]>