About
Have you ever been annoyed when you wanted to see a document and the download popup appears which forces you to select an external editor to view it?
This extension allows you to open the document directly in browser. You can also change the mime type of a document being viewed (could be used as a source viewer).
This extension won't be useful anymore once Bug 57342 and Bug 258012 have been implemented.
Download
(older unsupported version compatible for Firefox 2:
Version 1.1)
Compatibility
Tested on Firefox 3.
Configuration
You can add additional mime types to the list by creating a pref named extensions.openinbrowser.additional_mimes in about:config with the list of additional types separated by a "|". For instance, "application/pdf|audio/ogg-vorbis".
Issues / TODO
-
For some URL, changing the mime type does not work. For instance: viewing this URL in browser as text does not work (although it does not make sense to view .exe as text).
-
It does not work for protocols other that HTTP because of a technical limitation.
I should add a check and disable the option when downloading non HTTP files (ftp for instance).
-
Automatic opening in browser is not implemented, that's why the "Do this automatically for files like this..." checkbox is greyed out when open in browser is selected.
-
Some alignment issues on Mac platform. See this.
-
There should be some accesskeys defined.
-
Need to fix the tab ordering (thanks to Arne 'Timwi' Heizmann):
Secondly, please could you fix the tab order on the Save As dialog?
Apparently, with your extension installed, when "Open in browser as" has
focus and I press Tab, focus goes to the "open with" drop-down, not the
one I would expect. Similarly, if "Save as" has focus, Tab should go to
the checkbox underneath, not the "open with" drop-down :)
- Add PDF to the list (or better, make it configurable).
Contact / Feedback
sylvain dot pasche at gmail dot com