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
0
votes
0 answers

Can't fire library's function from a jQuery's function

I have the following problem: I use EasyXDM to make AJAX calls between 2 domains. However, when I use socket.postMessage() from a jQuery function it just doesn't fires. Here's an example: var socket; socket = new easyXDM.Socket({ remote:…
Gregory
  • 51
  • 1
  • 9
0
votes
1 answer

Using easyXDM (or any other client-side framework) for HTTP service availability tests (or response parsing in general) possible?

I can't see from the docs how it should work. Debugging with Firebug did not help either. Maybe I would have to sit for some hours to understand it better. The basic problem is, that I'd like to check the availability of various geo services…
Andreas Covidiot
  • 4,286
  • 5
  • 51
  • 96
0
votes
1 answer

Using easyxdm to read Cross-Domain Cookie data

I've got 2 domains - domain1.com and domain2.com - where domain1.com is my parent site and domain2.com is the child site. I'm setting cookies on domain1.com, but domain2.com needs access to those cookies. I've researched a ton about this subject -…
Dexter
  • 1,128
  • 3
  • 25
  • 51
0
votes
1 answer

Do you need "name.html" for EasyXDM iFrame resizing?

Does anyone know if you require the "name.html" easyxdm file when resizing a browser cross-domain, and if you do, where do you tell easyxdm to look for it? I currently pull a booking form from another website in an iFrame, however I can't see any…
Alex
  • 1,549
  • 2
  • 16
  • 41
0
votes
1 answer

EasyXDM passing data issue

I'm using rpc with XDM, and I can send simple data back and forth easily between child and parent window. But it seems to be limited to simple strings and numbers. The demos on the site only use numbers. When I try to send a json ecoded string, I…
Jeff Ryan
  • 586
  • 2
  • 7
  • 19
0
votes
1 answer

Click a button and navigate inside an iframe of different browser

I was doing research to see if its possible to do access corss domain ifram elements and do thing like clicking a button or filling a form in that iframe. I came across few thing and would like to get any experienced view if its possible : 1) using…
user2129794
  • 2,388
  • 8
  • 33
  • 51
0
votes
1 answer

Requested file in Javascript downloading to the user's computer rather than being read

I am trying to perform a hack, what my primary goal is to get the mp4 links of youtube videos. In past, I have been downloading the text file from http://www.youtube.com/get_video_info?video_id=videoidand extracting the links from there, this works…
Ashwin Singh
  • 7,197
  • 4
  • 36
  • 55
0
votes
0 answers

easyXDM failing on IE8 with undefined object

This script is working great in all browser but IE8, the error points me to the line 434 colum 75 telling me there is an undefined object. Error log: Messaggio: 'undefined' è nullo o non è un oggetto Linea: 434 Carattere: 75 Codice: 0 URI:…
DomingoSL
  • 14,920
  • 24
  • 99
  • 173
0
votes
2 answers

Loading embedded iframe with same protocol as window top to prevent Same Origin Policy Violation

We're developing a Javascript SDK which is used by embedded applications (injected in my site as IFRAMEs) to help them use some resources like loading some dialogs: e.g. an authorization dialog or a share box(like Facebook). Our SDK is using easyXDM…
juanjocv
  • 144
  • 1
  • 7
0
votes
1 answer

easyXDM, AJAX and Enjin

This is going to be about the same issue as my previous question (Loading a php file into cross domain page with dynamic element height) but now with trying to use a new method. I found a way to load my script into an ajax div locally but there…
xanara
  • 11
  • 2
-1
votes
1 answer

How to disable debug in easyxdm library?

I need quick help , if anyone has knowledge about eaxyxdm then please share here how to disable debug in easyxdm? Thanks in advance
M Junaid
  • 3
  • 2
1 2
3