I am trying to create an app on react(nextJs)+node.
I am trying to open an new window on button click and keep track of window URL via setInteval function .
The popup works fine but when I use setInteval function to access popup . It throw error
SecurityError: Blocked a frame with origin "https://a5b004e08b14.ngrok.io" from accessing a cross-origin frame.
I am not able to resolve this.