I have some embed code that users can put on their sites.  It creates two children iframes on the page.  I'd like to have those children be able to communicate.  I'm using javascript's window.postMessage https://developer.mozilla.org/en-U...
I have an iframe, which is communicating with its parent window to set and get some essential cookies via postMessage method.  At first a function in the iframe application requests Cookie A from the parent window.      function requestCommunication(...
The HTML5 postMesssage API allows sending message between window opener and openee. However, it requires reference/linkage to the receiver window.  Is there a pure client side JavaScript way to broadcast events to all window subscriber, under same do...
Window.postMessage() has a targetOrigin parameter that can be set to a URI (to ensure the message reaches only a specific url). It can also be set to * of course (not recommended), but is there a way to specify multiple URIs as allowed?  At present I...
Is it possible to open a site in an InAppBrowser, have that site use window.open to open another window, then send a message to that other window (and vice versa)?...
I am working on a project that involves hosting a webpage in a iframe, while the hosting parent iframe is in a HTML file on local disk, say on c:\; while the inner hosted iframe is on some server. The two webpages need to do postmessage to each other...
I'm sure it's just a problem with my syntax but I am trying to send a variable to an iframe (for colorbox to use). For the time being I am accepting any domains on both ends (just to get it to work). Here is the js for the sending page:  $(do...
I have simple input and HTML5 video player with iframe, I want to add multiple events to input with post message.  Problem.   I want on input focus event it should play video1 if user delay typing it should play video 2 if the user is still delaying...
I've heard that you can bypass a "blocked a frame with origin from accessing a cross-origin frame" with postMessage() and I've been trying to use it, but it's not working properly. What am I doing wrong?  <iframe src="www.e...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.