Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox opens infinite number of tabs when loading SWF files from local file system

  • 4 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 firefox335

more options

Firefox 70.0.1 on Ubuntu Linux 18.04 will correctly open and play SWF files (e.g. Flash games) via HTTP(S) but when you open the same file from the local file system it keeps opening new tabs until you kill the program.

http://Flashgames/somegame.swf works

file:///www/Flashgames/somegame.swf turns Firefox into a tab forking bomb.

I have deleted the handlers.json file in the profle, but that only causes Firefox to ask with what EXTERNAL application this file should be opened (it does not play the file within the browser).

There is no application associated with *.swf files on the OS level.

Firefox 70.0.1 on Ubuntu Linux 18.04 will correctly open and play SWF files (e.g. Flash games) via HTTP(S) but when you open the same file from the local file system it keeps opening new tabs until you kill the program. http://Flashgames/somegame.swf works file:///www/Flashgames/somegame.swf turns Firefox into a tab forking bomb. I have deleted the handlers.json file in the profle, but that only causes Firefox to ask with what EXTERNAL application this file should be opened (it does not play the file within the browser). There is no application associated with *.swf files on the OS level.

所有回复 (4)

more options

Did you look at this pref on the about:config page?

  • plugins.http_https_only = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

I tried it. No effect. I also started Firefox in "save mode" but that didn't make any difference, either.

more options

You get an infinite number of tabs opening when you set Firefox to handle a specific file extension, you it looks that you once did this when you tried to open a SWF file in Firefox and got the 'open with' dialog instead. You should never do this, so you will have to remove this action.

more options

cor-el said

You get an infinite number of tabs opening when you set Firefox to handle a specific file extension, you it looks that you once did this when you tried to open a SWF file in Firefox and got the 'open with' dialog instead. You should never do this, so you will have to remove this action.

First off, thank you for responding, and what you write now makes sense: Firefox tries to open the designated media type using itself as the application to open it with. Looking at the settings I see that in my FF install this is indeed the case.

However, I would consider this behavior undesirable. Firstly, it is easy for a user to do what I did, with problematic results. If one should never do this, FF should either not allow it or warn against it. Secondly, why are files opened from a local file system handled differently from files opened via http?

By my personal definition, this should be classified as either a but or as a UI design flaw, and fixed in future updates. But that's just me.

That said, while this doesn't fix the problem it at least explains what's happening, so thank you. I appreciate it!