简体   繁体   English

在Internet Explorer中打开强制窗口

[英]force window open in internet explorer

I guess what I want to do is not possible. 我想我不可能做。

I would like open a new window using javascript, this is easy: 我想使用javascript打开一个新窗口,这很容易:

popup = window.open('www.google.es', 'titlebar=no,toolbar=no,location=no,status=no,menubar=no,resizable=no, top=0, left=0, type=fullWindow,fullscreen,scrollbars=yes');

but I want this new window opens in Internet Explorer whatever the parent was. 但无论父级是什么,我都希望在Internet Explorer中打开这个新窗口。 So, I'm navigating in crhome, and opens the new window in IE. 因此,我在crhome中导航,并在IE中打开新窗口。

Is it possible? 可能吗?

You can do it the other way around, that is force to open a link in Edge from an IE page, window.open("microsoft-edge: http://www.google.com "); 您可以用另一种方法来完成它,即从IE页面window.open(“ microsoft-edge: http : //www.google.com ”)强制在Edge中打开链接。

but it seems that it's not possible to use a similar command to force a link to open in IE. 但是似乎无法使用类似的命令来强制在IE中打开链接。 It can be achieved using javascript and ActiveX (if enabled) but I can't use this in an enterprise environment (too risky) 可以使用javascript和ActiveX(如果启用)来实现,但是我不能在企业环境中使用它(风险太大)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM