Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 4 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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.

All Replies (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!