Firefox – Modify Firefox mimetypes.rdf to prompt Open With for application/octet-stream

firefoxmime-types

Some web-servers intentionally or inadvertently use the application/octet-stream mime-type for files where either the actual mime-type isn't known or when they are incorrectly configured. Or perhaps where the file is binary and application/octet-stream is appropriate.

With these mimetypes, the Open With option is omitted from the file download dialog box.

I would like to modify Firefox mimetype.rdf (or whatever else is needed) to change this behaviour so that "Open With" option is always present.

I have skimmed the Mozilla docs and monkeyed with the rdf a bit, but I am hoping someone has already figured this out.

Of course, if there is an extension I cannot find that just does this already, excellent.

Best Answer

You could try the experimental extension OpenDownload² :

OpenDownload² inserts a "Run" button into the "Open File" dialog when downloading files. Clicking the button saves the particular file in your temporary directory and opens it with the assigned application or (for .exe files) runs the application from there.

Related Question