Tag Archives: cross-domain

new transport for IE6/7, as fast as postMessage, and with NO dependencies!

Until now, if you wanted hi-speed communication in IE6/IE7 you would have to resort to the NameTransport, but this has its drawbacks It makes a ‘rattling’ sound when it navigates the documents It requires a html-file, name.html, present on both … Continue reading

Posted in Blog | Tagged , , , | Leave a comment

easyXDM and prototype.js, how to make it work

This is no longer needed from v2.1.0 as easyXDM now feature tests for a valid JSON implementation. Cross-domain RPC was made easy by the introduction of easyXDM, but there are still obstacles to be found, especially when using libraries like … Continue reading

Posted in Blog | Tagged , , , , , , , | Leave a comment

Creating a bookmarklet with easyXDM

Bookmarklets has been common for a long time and are quite easy to make. But one thing that you often see when examining the code behind bookmarklets are that most of the code is ┬ájust to facilitate simple cross domain … Continue reading

Posted in Examples/How-to's | Tagged , , , , , , , | 2 Comments

Supported browsers

One of the goals of easyXDM is to support all browsers that are in common use, and to provide the same features for all. One of the strategies for reaching this is to follow defined standards, plus using feature detection … Continue reading

Posted in Features | Tagged , , , , , , , , , , , , , , , , | 8 Comments

Adding easyXDM to your project, including debugging tools

To be able to use easyXDM in you project, either as a provider, consumer or both, there are a few things that you need to do.

Posted in Getting started | Tagged , , , , , , , , , , | 12 Comments

Setting up your first Socket

The first thing you should do to familiarize yourself with the library is to set up a simple easyXDM.Socket class, which will allow cross domain communication with messages going both from the consumer to the provider, and the other way … Continue reading

Posted in Getting started | Tagged , , , , , , , , , , , , , | 35 Comments

Sending and receiving messages

The base functionality delivered by easyXDM is to, without any server-side dependencies,  pass string based messages between two domains in a fast, reliable and secure way.

Posted in Examples/How-to's | Tagged , , , , , , | 11 Comments

Remote Procedure Calls (RPC)

As fun as transferring simple strings from one domain to another might sound; is this really what you need? While some applications (like the resize iframe example) might need nothing more, most often what you want is to be able … Continue reading

Posted in Examples/How-to's | Tagged , , , , , , , , | 14 Comments

Cross-domain AJAX

As mashups are getting more and more common a problem that keeps arising is how to include data from external domains in a safe way.

Posted in Examples/How-to's | Tagged , , , , , , , , , | 58 Comments

Resize iframe based on content

One thing that many are using easyXDM (and other cross-domain hacks) for, is to dynamically change the size of embedded iframes based on the contents size, so as to avoid the scrollbars. With easyXDM this is really easy:

Posted in Examples/How-to's | Tagged , , , , , | 148 Comments