Joined July 2012
·

Quique Borredá

CTO at ---
·
Madrid, Spain
·
·
·

We had a similar problem accesing different domains on an iframe while creating a newer tool on a cms. We had to use the HTML5 postMessage API between the old server pages (included into the iframe) and the new one ..
https://developer.mozilla.org/en-US/docs/Web/API/Window.postMessage

I'm guessing you didn't need to 'know' if the other tab was open or not, right?
You just listen to the event and fire up functions from there .. nice trick!

Works also great with arrays ..

Posted to Sublime Text JSHint Package over 1 year ago

On my PC machine, it is working with Ctrl+Alt+J ..

Achievements
1 Karma
254 Total ProTip Views