javascript - Trigger iframe hiding from within iframe -


i have small widget users can install on sites. need "close" (ie. hide iframe) when has performed action within widget.

the big issue here domain widget installed on different domain of widget itself.

ie. source of widget embed http://example.com/embed.js while may embedded on http://cnn.com

i'm aware there cross-domain security issues prevent accessing parent doc window.parent.document. so, i'm asking clever workarounds make work.

for it's worth, i'm dynamically creating iframe within embed.js code.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -