Our website gives a widget to be installed in pages (a piece of Javascript that writes an iframe element and inside it renders things and you see rss, images, and other stuff).
I need, after the user do some stuff, to redirect the page (where the widget is) to another location, but using top.document.location
is forbidden since the page and the iframe generated by the widget are in different location, and using window.open
is usually blocked by popup blockers.
How can i do it ?