If I open a window (with window.open
), can I detect when its URL changes (to a specific one), given that:
- The initial URL for the window is on another domain (Facebook, to be precise)
- The URL I'm interested in detecting is too
I need this for authentication. See "Desktop apps" at the bottom of this page.