If you opened the new window from the original window, you should be able to access the
window.opener
property in the DOM of the new window. This property gives you access to the DOM of the original window. Here is a link to the MDN entry for this property click[^] Cheers!