-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arrive.js with iframes? #32
Comments
Arrive won't fire for elements within an iframe unless you attach it to the |
@uzairfarooq that's exactly what I am doing: attaching arrive to the iframe document. However, it doesn't work. Could you please chevk? |
Hmm...haven't tried it before on iframe. Will look into it. |
Hi @uzairfarooq, I'm also interested in this feature but can't get it to work. 😄 |
The monitoring package is a rewrite of const monitor = monitoring(document.body, {iframes: true});
monitor.added('div', div => {
if (div.ownerDocument != document) {
console.log('new div in an iframe!');
}
}); Disclosure: I am the author of |
I have a parent page that embeds a child iframe. I set up arrival listeners for elements in child iframe; however, these listeners are never called. Is it possible to use arrive.js with iframes?
P.S. I'm running
google-chrome --disable-web-security
to bypass same-origin checks.The text was updated successfully, but these errors were encountered: