質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -114,3 +114,18 @@
|
|
114
114
|
コード
|
115
115
|
```
|
116
116
|
|
117
|
+
```ここに言語を入力
|
118
|
+
window.open(url, "_blank", "width=500,height=240");
|
119
|
+
↓新しいタブで開く。に変更。toolbarが操作できるようにする。
|
120
|
+
window.open(url, "menubar=yes , toolbar=yes");
|
121
|
+
```
|
122
|
+
child.htmlが表示された時、Chromeのデベロッパーツールのコンソールに、
|
123
|
+
下記のエラーが表示されているのを、見えるようになりました。
|
124
|
+
child.html:27 Uncaught DOMException: Blocked a frame with origin "http://localhost:8080" from accessing a cross-origin frame.
|
125
|
+
at setData (http://localhost:8080//MyWebPage/window_opener/child.html:27:30)
|
126
|
+
at HTMLInputElement.onclick (http://localhost:8080//MyWebPage/window_opener/child.html:53:59)
|
127
|
+
|
128
|
+
localhost:8080のアクセスをブロックしている?んでしょうか
|
129
|
+
|
130
|
+
|
131
|
+
|