javascript——如何在java脚本中在Chrome中打开新选项卡而不是新窗口
发布时间:2022-04-15 22:41:25 352
相关标签: # 前端
使用下面的代码,我可以打开新的标签和网址。。在Firefox中。。但当我试图在Chrome中打开它的新窗口时,我不想要新窗口。。如果是chrome,我想要新标签
这是我的代码:
> window.open(this.getJavaURL +
((this.returnPage != null) ?
('&returnPage=' + this.returnPage) : '') +
((this.locale != null) ?
('&locale=' + this.locale) : '') +
((this.brand != null) ?
('&brand=' + this.brand) : ''),'_new');
你能帮帮我吗。。
特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报