Questions tagged [easyxdm]

easyXDM is a Javascript library that enables you as a developer to easily work around the limitation set in place by the Same Origin Policy.

Per easyXDM

At the core easyXDM provides a transport stack capable of passing string based messages between two windows, a consumer (the main document) and a provider (a document included using an iframe). It does this by using one of several available techniques, always selecting the most efficient one for the current browser. For all implementations the transport stack offers bi-directionality, reliability, queueing and sender-verification.

41 questions
6
votes
1 answer

Microsoft Edge easyXDM on("message") event not being called

In Microsoft Edge, a GET request is not running. I have stepped through the code to the point of the AJAX request being run, and set a breakpoint in the callback(s). However, the code never reaches the callbacks. I already have a .then() and .fail()…
Jacques ジャック
  • 3,682
  • 2
  • 20
  • 43
6
votes
0 answers

Using easyXDM on same domain

I am using easyXDM for cross domain iframe resizing. Working fine. If I want to use same exact function on my own domain I am getting; Uncaught TypeError: undefined is not a function on easyXDM.js file. Is there any workaround to still use easyXDM…
Teoman shipahi
  • 47,454
  • 15
  • 134
  • 158
5
votes
1 answer

`Uncaught TypeError: Cannot read property 'postMessage' of undefined ` error while sending cross domain messages using EasyXDM

I am trying to make a data exchange system between two websites at their client sides. I am using EasyXDM for this. (http://easyxdm.net/). Here is my code of parent website:
Shiva Pareek
  • 1,719
  • 5
  • 21
  • 42
5
votes
2 answers

Multiple easyXDM in one page

I am trying to use two easyXDM sockets on a single parent page without success. Both the sockets connect to the same remote domain but different endpoints. The parent page has two divs false_app_div and dummy_app_div.The following shows the code…
Siddharth
  • 5,009
  • 11
  • 49
  • 71
3
votes
1 answer

Why should I use easyXDM for simple cross domain messaging?

I have a client suggesting I implement an old version of easyXDM to do send simple cross-domain messaging from iframe content to its parent window. My minimum browser requirements are IE11 and up. Why should I use this over something like…
bingo
  • 2,298
  • 1
  • 15
  • 21
3
votes
1 answer

Cross Domain AJAX Post using easyXdm

I am trying to get a cross domain AJAX post to work using the easyXdm library. In my local development environment I have two sites: 1. http://localhost/MySite/ws/easyXDM/cors/index.html (EasyXdm file) 2.…
Seany84
  • 5,526
  • 5
  • 42
  • 67
3
votes
0 answers

Cross-Domain redirect after ajax request

i simply need to load a cross-domain asp.net page using jQuery's load() function, but this page can trigger a redirect (i have access to both Server and Client pages). The loaded page is an asp.net page and i use from…
HypeZ
  • 4,017
  • 3
  • 19
  • 34
2
votes
1 answer

Cross Domain Authentication with EasyXDM

I am trying to do a login like Google does, which includes a cross-domain-authentication. When loggin into google.com you are automaticly logged in for different domains like youtube.com. For me it looks like: you enter credentials at…
2
votes
0 answers

Cross-domain window-to-window communication with easyXDM

I'm trying to use easyXDM to communication with a popup window on another domain than the parent. I have seen this example: http://consumer.easyxdm.net/current/example/bridge.html However, this example has an intermediary page and frankly is…
tlovett1
  • 1,089
  • 2
  • 10
  • 20
2
votes
0 answers

Authentication with easyXDM

I am successfully using easyxdm (with the iframe-intermediate.html methodology) to pull content from a remote server to resize in an iframe on a website, we would now like to lock down our remote content with a username/password, is it possible to…
2
votes
0 answers

easyXDM iFrame auto-height failing

I have followed the instructions here and here but am not able to implement easyXDM correctly to auto-size the height of my iframe. On the page with the iframe (host.html), I can see the contents I am importing (otherdomain.html) but the height of…
surfbird0713
  • 1,209
  • 2
  • 23
  • 45
2
votes
1 answer

easyXDM PUT places data in query string

Hi I have a very strange problem when trying to make PUT request using easyXDM. that.xhr.request({ url: url, method: "PUT", data: [{"foo":"test"}], …
emirkljucanin
  • 804
  • 1
  • 9
  • 20
2
votes
3 answers

easyXDM adds mysterious extra height to iframe

I have to place the content of service provider in an iframe on parent website. The height of the iframe content would dynamically change depending on user interaction. Problem I face is that there is some extra height added to the iframe. I'm not…
dragonfly
  • 3,203
  • 7
  • 30
  • 52
2
votes
1 answer

post cross domain without access to the server

is there a way to send a AJAX post to a PHP page that is in a server that I don't have access? The server always send Access Control Allow Origin error, because I'm sending a post from my server (that I have access) to another server (that I don't'…
user1864255
  • 105
  • 2
  • 2
  • 6
2
votes
1 answer

IFrame resizing with easyXDM

I give my iFrame code to clients, so they can display the dynamic content from my site. I'd like the iFrame that lives on their page to resize to fit my content. I followed the instructions from the easyXDM site, but maybe I am missing something. I…
wotney
  • 1,039
  • 3
  • 21
  • 34
1
2 3