• caglararli@hotmail.com
  • 05386281520

Can javascript from parent page read url of popup window?

Çağlar Arlı      -    36 Views

Can javascript from parent page read url of popup window?

Lets say I'll open a third party page from the parent page using window.open(popup method)

Now what I want to know is there any way where the parent page(using javascript or any third party library) which opened the popup can get info back to the parent page

Let's say the popup window loads a particular URL.

I want to grab that URL after it's loaded from that popup to the parent page.
Is that possible?
There is no content security headers set in the popup page

and I can't use the popup page in the parent page using iframe because X-Frame-Options Header is set

Is there any other way to get info from the popup page as soon as it loads?