Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have written a plugin which allows the user to view multi-page TIFF images within firefox. The problem is that Quicktime also thinks it can view TIFF images. How does Firefox chose which one gets used?

through trial and error I've determined that:

  • Sometimes, my plugin (Accel VIewTIFF) just runs, and everyone is happy.
  • Sometimes I need to disable Quicktime in the Add-ons window.
  • Sometimes I need to remove the QuickTime plugin files from the / Library/Internet Plug-ins folder (I'm on a mac)
  • Sometimes I can put QuickTime BACK after having successfully run Accel ViewTIFF.

I've yet to figure out when (if ever) each step is necessary.

Please help me escape the cargo cult! (or at least point me to the right place in a manual.)

thanks.

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

The official word from Firefox is that among the valid plugins for that time, the choice is "Consistent but random" meaning that once it makes a choice, if nothing changes, it will always make that choice, but they won't tell you how they make the initial choice.

Lovely.

share|improve this answer
add comment

In the preferences window, under the applications tab, select the file type you need, and select it to always use your plugin. The "Always ask" option somehow doesn't seem to work.

share|improve this answer
    
Ok, but what if there is no line for image/TIFF? There doesn't seem to be a "add Mime type" button there... –  Brian Postow Apr 9 '10 at 21:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.