Firefox打开一个新的选项卡,而不是一个弹出窗口? [英] Firefox Open a new tab instead of a pop window?

查看:672
本文介绍了Firefox打开一个新的选项卡,而不是一个弹出窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现在Firefox的最新版本中,添加了一个名为在新选项卡中打开新窗口的设置。



当我保持开启状态时,所有的弹出窗口(使用javascriptwindow.open函数打开)打开一个新的选项卡,我真的需要打开一个弹出窗口(像菜单=否等设置)。一些正常的链接与目标=_ blank属性将打开新窗口,如果我保持关闭。

那么,有人在这里知道是否是一个错误,也许我错误someting?



谢谢。

解决方案

确切的问题,但只有在Firefox(3. * +)后,在一定的日期,只有在我的Mac(Windows机器工作正常)最后,我用我的Mac上的访客帐户,看到Firefox工作正常,所以我试过禁用所有的扩展都无济于事。最后,我手动搜索about:config属性来查看任何看起来可疑或非默认的东西。事实证明,我想我必须安装一个扩展来调整 browser.link.open_newwindow.restriction 属性为0(而不是默认值为2) - 一旦我改回来,一切都很顺利。这个属性 - 这似乎是没有透露通过Firefox的另一个呃选项卡/弹出窗口/窗口UI选项:



http: //kb.mozillazine.org/Browser.link.open_newwindow.restriction


I found that in recent version of Firefox, there was add a setting called "Open new windows in a new tab instead".

When I keep it on, all the pop windows(Using javascript "window.open" function opened) opened in a new tab, which I realy need opened in a pop window(With settings like "menubar=no" and etc.). Some normal links with "target="_blank" attribute will open in new window if I keep it off.

So, is anyone here knows whether it's a bug or maybe I mistake someting?

Thanks.

解决方案

I was having the same exact problem, but only with Firefox (3.*+) after a certain date and only on my Mac (Windows machines worked fine). Finally, I used the guest account on my Mac and saw that Firefox worked properly, so I tried disabling all extensions, to no avail. Finally, I manually searched through the about:config properties for anything that looked suspicious or non-default. As it turns out, I think I must have installed an extension that tweaked the browser.link.open_newwindow.restriction property to 0 (instead of the default of 2) - once I changed it back, all was well. See the following for a thorough explanation of this property - which seems to be unexposed through Firefox's other tab/popup/window UI options:

http://kb.mozillazine.org/Browser.link.open_newwindow.restriction

这篇关于Firefox打开一个新的选项卡,而不是一个弹出窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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