LoginSignup
0
0

More than 1 year has passed since last update.

window.open()の「アクセスが拒否されました」のエラーに対処する

Posted at

先日遭遇した問題として、
JavaScriptを利用してブラウザのタブを開く場合、「アクセスが拒否されました」と表示されてうまくいかないことがあった。

原因はwindow.open()の引数として、
windowNameを’blank’固定で渡していたため、既に同じものが存在する場合に開けなくなったようだった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0