I found that setting the parentUrl variable in a popup (obtained from the query string) and then using:
window.opener.location.href = parentUrl;
work.
I donโt know why, I think this is magic, but it works (tested on IE, chrome and Firefox). You cannot read the value of window.opener.location.href, but you can set it to whatever url you want. I use this oddity to update.
Hope this helps
source share