Microsoft Edge:window.open仅在第一次尝试时才能正常工作 [英] Microsoft Edge: window.open only works correctly at first attempt

查看:176
本文介绍了Microsoft Edge:window.open仅在第一次尝试时才能正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在MS Edge(Windows 10内部版本10162)中,window.open调用仅在第一次正确运行,但随后的window.open调用仅显示带有e徽标的蓝屏.

In MS Edge (windows 10 build 10162), window.open call only works correctly the first time, but subsequent window.open calls only shows a blue screen with the e logo.

<body onclick="myOpen();">
    <p>Click this page and window.open() is called.</p>
    <script>
        function myOpen() {
            window.open("http://jsfiddle.net/sbhat/f74wt293/", null, "height=200, width=400, status=yes, toolbar=no, menubar=no, location=no");
        }
    </script>
</body>

在此处查看演示: http://jsfiddle.net/sbhat/f74wt293/1/ 单击页面,关闭弹出窗口,然后再次单击它.有一个蓝屏.

See demo here: http://jsfiddle.net/sbhat/f74wt293/1/ Click on the page, close the pop up window, and click on it again. There's a blue screen.

我对window.open提出了另一个问题,详细描述了

I filed another issue with window.open described in detail here, which appeared fixed at first, now I've run into this issue.

推荐答案

不再是问题,已在Windows 10预览版10240中修复.

No longer an issue, this is fixed in windows 10 preview build 10240

这篇关于Microsoft Edge:window.open仅在第一次尝试时才能正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆