我试图打开一个窗口并编写或修改我要打开的窗口,但是它抛出了DOMException错误:
示例:
var myWindow = window.open(linkVar); // linkVar is the link tag
myWindow.document.write("<p>A new window!</p>");
myWindow.focus();
但是我抛出了以下错误
VM7180:1 Uncaught DOMException: Blocked a frame with origin "https://www.neox.com" from accessing a cross-origin frame.
at <anonymous>:1:5
考虑到我不想使用硒,我该如何解决呢?