Hacker News new | past | comments | ask | show | jobs | submit login

    var win = window.open(some_url_on_the_same_domain);
or

    var parent = window.parent;
Now, you can access global variables on either parent or win.



oh cool. In my head when I see that I just think spammy popup :) I can't recall seeing it used for a legitimate purpose. But yeah that would accomplish what you're describing.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: