TIFF viewer 的评价
TIFF viewer 作者: Jonas Schubert Erlandsson
1 条评价
- Extending Firefox to load all kinds of files is great, but if I File > Open a local WelcomeFax.tif file, Firefox dumbly asks what program I want to use to open it, not including "Preview in Firefox". I would expect this to work exactly the same as the PDF viewer in Firefox, making the browser and OS aware that Firefox can handle TIFF files and adding "TIFF file" to Preferences > Files and Applications. I suspect Firefox's crappy support for itself as a MIME type handler makes this stupidly difficult, even though it's a killer feature. Perhaps the code from JSONView would help, though its options only appear on its Add-on panel, not in Preferences > Files and Applications.
开发者回应
发布于 8 年前Hi there. As you pointed out yourself this is not really a limitation of the extension as such but in how Firefox handles files loaded directly. This extension was written specifically to handle the case when a TIFF file was included in a page, and hence cause the web browser to make a request for such a file. When you load a file locally it doesn't cause such a request and the extension can not pick it up.
I will look into adding the ability to pick up direct TIFF file opens, it should be possible, so look for that in a future version :)
EDIT: I did look into it and extensions can not register file handlers, only applications can do that and applications can not do some of the other things that this extension needs, like intercept page requests. So this is a no go unfortunately.