Enable SWF Files as a Supported File Type in Firefox on OS X

I’m posting this for myself and in case anyone finds it useful. There currently is no stand alone native Flash Intel Mac Player, so I resort to dragging SWF files to Firefox often. One thing that bothered me was the inability to drag a SWF onto the Firefox icon in the Finder or selecting Firefox as the default file handler for SWF files, instead you have to drag the SWF file to an open Firefox window. Turns out it was an easy change. After a look at the contents of Firefox.app and adding swf as a supported file type, it turns out to be a quick change. And rather than having to do this manually each time I upgrade Firefox, I decided to create a patch file that way I can just quickly add back the support after I upgrade Firefox


  1. Download the archive (Firefox Patch)
  2. Expand the archive
  3. Open terminal and navigate to the folder
  4. Assuming Firefox is in your applications folder, execute the command “patch -uN /Applications/Firefox.app/Contents/Info.plist ./firefox.patch”
  5. For the Finder to pick up the change in the support file type you have two options
    1. Restart your mac
    2. Create a copy of Firefox, delete the original, and rename the copy back. Creating a copy causes the Finder to re-evaluate the support files types without needing to restart your mac

I’ve used this with Firefox 1.5.x and 2.0 beta1-rc3 with no problems.

4 thoughts on “Enable SWF Files as a Supported File Type in Firefox on OS X

  1. And how about using the standalone flash player running with Rosseta, don’t works or is too slow?

  2. just a note – you can open any type of file by dragging it over any icon in the dock if you just press Control + Option as you drag it over. it forces the app to try to open your file. comes in handy

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>