[英]popup window with particular browser
When I click any button in opera brower, it should offer a popup window in IE browser. 当我单击歌剧浏览器中的任何按钮时,它应该在IE浏览器中提供一个弹出窗口。 IE is already installed in target machine.
IE已安装在目标计算机中。
my code is below: 我的代码如下:
var popup;
function FingerPrint() {
popup = window.open("fingerprint.html", "Popup", "width=300,height=300");
popup.focus();
return false;
}
Presently, this is opening in the same Opera browser; 目前,这是在同一Opera浏览器中打开的; whereas I want it to open in IE.
而我希望它在IE中打开。
I am using this for asp.net, javascript 我正在将此用于asp.net,javascript
Please help with relevant code/guidance. 请协助提供相关代码/指南。 Newbie here!
新手在这里! Please be kind.
请客气。 Thanks in advance for your help!
在此先感谢您的帮助! :)
:)
I don't think this can be done! 我不认为这可以做到!
The browser that renders the page is the one that will always open a new window (or tab). 呈现页面的浏览器始终会打开一个新窗口(或选项卡)。 You don't have the option to set a different browser in
window.open
options. 您没有选择在
window.open
选项中设置其他浏览器的选项。
Not possible since JS is not allowed to run local files. 由于不允许JS运行本地文件,因此无法执行。 (Which IE is)
(哪个IE是)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.