window.Open 関数を使用して JavaScript で新しいウィンドウを起動し、そのタブにフォーカスを設定することは可能ですか?
今日私がやっていることは次のとおりです。
var winRef = window.open(outUrl,wName,'left='+ wX +',top=' + wY + ',height=' + wH + ',width=' + wW + args);
try {
// Not all window types support the focus() property.
winRef.focus();
}
catch (exception) {
}
ウィンドウは開きますが、新しいタブにはフォーカスがありません。