I\'m looking to achieve something like Wordpress does when you create a new post. It allows you to preview your post by opening a new tab. If, after that, you edit the post
If I remember correctly this is the way to do it:
var win = window.open(url, "foobar");
win.location.reload();
You can do this by "storage" event. for more details follow
Communication between tabs or windows
https://developer.mozilla.org/en-US/docs/Web/Events/storage
I think you're looking for the property window.opener. See http://www.w3schools.com/jsref/prop_win_opener.asp