Have one more question. I have two pages (one main and one window.open). Window.open have a href link. How make that if someone press the link in the window.open change the main page url and go to that url?
Main page
//////////////////////////////
htp://main.page.com
(change main page url if link pressed in window.open)
/////////////////////////////
//////////////////////
window.open
a href="#" Link
/////////////////////
In your Main page, of course have that link that will open then child (other) file:
Then on that other file:
Of course change that value of google.com to that other value that you desire.