Tell me if this makes any sense. I have been accessing a website through a popup window for years. using
window.open('https://example.com',mypopup,parameters);
I click a button in my main window, and it pops up that page. other buttons on my page take me to different pages on the site in the same popup window, like this...
window.open('https://example.com/page2.html',mypopup,parameters);
Nothing has changed in my program, but the website stopped allowing this. Is that possible? I thought it could be something with my browser, but no. All browsers no longer work.
Now, the popups are appearing in different windows and all functions like mypopup.focus()
and mypopup.close()
seem to have no effect. It's as if the name mypopup
is no longer recognized and it's just creating new unnamed windows.
Could example.com have added some kind of security to not allow access the way I used to? Nothing changed on my end.
window
.window.name = "xyz"
, which will overwrite the name you gave it from your end.