打开about:Firefox中的空白窗口 [英] Open about:blank window in firefox

查看:58
本文介绍了打开about:Firefox中的空白窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用window.open javascript打开一个新窗口时,chrome使用about:blank打开,但是firefox使用jsfiddle返回URL打开,如果右键单击该页面,仍然可以看到页面正在加载.您将不会看到刷新图标,而是会显示一个停止图标.

我需要使用about:blank打开新窗口.

这是 jsFIDDLE

经过Chrome 45.0测试经过Firefox 41.1的测试

 < button id ="helper">单击此处获得帮助</button> 

解决方案

您遇到的是新的Firefox行为,该行为在40或41版本中通过了(很抱歉,我没有找到参考).

也希望它很快成为Google行为的一部分,您会看到人们已经在要求它了(jsFIDDLE

Tested with Chrome 45.0 Tested with Firefox 41.1

<button id="helper">Click here for help</button>

解决方案

What you are experiencing is a new Firefox behavior that passed in version 40 or 41 (sorry I did not find the reference).

Expect it to become part of google's behavior soon too, you can see people requesting it already(Chrome issue)

Unfortunately there is not much that can be done for now as it is brand new people have not found workaround or even if it is a good idea to fight against the browser... My suggestion is to not use about:blank at all and use a blank html page from your domain, that would make things easier on the users.

这篇关于打开about:Firefox中的空白窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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