Data from Web Widget

Is there any way to pull data out of a web widget? eg. URL parameter or get a variable from within an embedded frame?


It’s possible with JavaScript if the embedded page and your HTML5 page have the same domain.

var frameNode = prez.object('web object name').frameNode;
var embeddedUrl = frameNode.src;
var embeddedWindow = frameNode.contentWindow;
var embeddedDocument = frameNode.contentDocument;