X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How are user-entered MIME applications defined to open certain file types. This used to be standard in browsers.

Posted

In the not-terribly-recent past, browser Preferences allowed users to create associations between a file type (really, a file extension indicating its type) with an application used to run that type of file. Firefox seems to have buried this (on the Mac) in ~/Library/Application Support/Firefox/... ;in which seem to be an xml file.

Is it possible to edit this xml file directly, and if so, where in the xml file should a new entry be placed, and what is the explicit syntax of an entry (other than obviously copying present entries)?

These used to be called MIMEs.

Chosen solution

hello, this is sored in a file named mimeTypes.rdf inside your profile folder. for more information please refer to http://kb.mozillazine.org/MimeTypes.rdf.

Read this answer in context 0

Additional System Details

Installed Plug-ins

  • Displays Java applet content, or a placeholder if Java is not installed.
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
  • Shockwave Flash 11.6 r602
  • DivX VOD Helper Plug-in
  • DivX Plus Web Player version 2.2.2.14
  • Version 3.13.2.11592
  • Google Talk Plugin Video Accelerator version:0.1.44.23
  • Adobe® Acrobat® Plug-in for Web Browsers, Version 10.1.5
  • Wolfram Mathematica Plug-in for Netscape Browsers
  • iPhoto6
  • Garmin Communicator Plug-in Version 4.0.4.0
  • DYMO Label NPAPI Plug-in
  • Microsoft Office for Mac SharePoint Browser Plug-in
  • The Flip4Mac WMV Plugin allows you to view Windows Media content using QuickTime.
  • 5.1.10411.0
  • Plugin for Wacom tablets.
  • Garmin Communicator Plug-in Version 4.0.1.0
  • The Google Earth Plugin allows you to view 3D imagery and terrain in your web browser.
  • 3DVIA player Plug-In (5.0.0.12) : Plays 3DVIA Virtools File in your browser!
  • revWeb revlet player

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:18.0) Gecko/20100101 Firefox/18.0

More Information

philipp
  • Top 10 Contributor
  • Moderator
2046 solutions 8901 answers

Chosen Solution

hello, this is sored in a file named mimeTypes.rdf inside your profile folder. for more information please refer to http://kb.mozillazine.org/MimeTypes.rdf.

Question owner

I am trying to use a rather older programming language called Mozart, an extension of OZ. I installed it as a binary, but instead of storing its component binaries in a place like /usr/local/oz/bin/. they are all enclosed inside the /Applications/Mozart.app/Contents/Resources/bin/. which cannot be opened nor can a soft link be made to it located outside the Mozart.app wrapper.

The only alternative is to try to edit the mimeTypes.rdf files, and give it the full path name to the inside of Mozart.app were the program used for web applications is stored. It is stored in ~/Library/Application Support/Mozart/, which can only be accessed in more recent Mac OS X by going to finder and holding the Option key while opening the Go menu; this will make the ~/Library visible and accessible.

Question owner

To add to my previous post: ~/Library is also visible with M-x dired in Emacs or Aquamacs. I suspect I shall have to attempt to compile Mozart from source, which will put the binaries in the usual place /usr/local/oz/bin or, optionally, /opt/local/oz/bin

Then it is a problem of how to edit this with Firefox, as was asserted to be possible in http://kb.mozillazine.org/MimeTypes.rdf Perhaps under Tools|Developer menu there is something I am missing...