Is this supposed to work with the file:// protocol ? Trying to load markdown local file in the browser always give me the same default download dialog.
No, it does not work with file://-URLs.
It is not possible to provide the same Open in Browser experience with the extension APIs either.
There are alternative ways, such as offering a file chooser and opening that in a sandboxed new tab, but other than that the options are quite limited.
PS. This does not look like a review, if you have questions or feedback, please use Github issues or e-mail instead of posting a 1-star review with a question.
I hope that something like this extension will be WebExtensions-ready, for the release of Firefox 57.
Version 2.0 of the extension has been uploaded basing on a WebExtension. You will be able to continue to use the extension with Firefox 57 and later! It requires Firefox 57 though, so for trying it out you need to update or try with a beta. I hope this could help you!
This is a great add-on, though it is reported as being incompatible with Multiprocess Windows (Electrolysis or e10s). I'd like to see an update so I can make use of all e10s features.
I use this frequently for loading podcast .mp3 files in my browser rather than an external app, the occasional video file, and it's frequently useful for viewing random text files (source code or configuration files) that would ordinarily be downloaded or sent to an external text editor. Usually I can just use "Server-sent MIME" as the file type, so I kind of wish that was the default option...
I really wish this was a built-in feature for Firefox.
Version 2.0 of the extension has just been uploaded basing on a WebExtension. It is not just compatible with e10s, you will also be able to continue to use the extension with Firefox 57 and later! Version 2.0 requires Firefox 57 though, so for trying it out you need to update or try with a beta. I hope this could help you!
It's very useful for me!
Easy to install and useful everyday. Tiny & clean.
Très facile à utilisé et à installé, en plus ne prend pas de place et ne ralenti pas Firefox. Indispensable.
Hoping it will turn e10s-compliant soon! ;)
Version 2.0 of the extension is not just e10s compliant, it is also ready for Firefox 57 and later! This means that you can continue to use the extension. I hope this could help.
This must be implement in FF directly !!!
Thanks a lot !
This is very cool. I have been looking for something like this! It should be default in Firefox!
This is a brilliant little add-on. I've been yearning for something like this for years.
Of course the real fix should be on the server, where the mime type should be set to "text/plain".
this works great, but why can't i select „Do this automatically…”?
edit after dev reply:
is it planned to be implemented?
Thanks for the review. This feature is not implemented, that's why the option is disabled.
Such a simple thing, but it makes a world of difference when one occasionally tries to open otherwise-uncooperative files in the browser. I recommend this extension for everyone.
Nothing spectacular but a reasonably useful additional option.
So handy !
Why isn't that included by Firefox ?
Thanks for this great simple add-on.
Does exactly what it promises, is very easy to use, but has two things which are rather irritating. Actions cannot be saved, and I get the popup twice. Going through a list of plain-text .log files becomes a headache.
One of the most useful addons out there. Firefox really needs some built-in flexibility regarding MIME types. Until then, please don't let this addon die!
Very helpful add-on.
But if you can add options window to set the default file type and ability to add custom file mime types would be great.
Also "Do this automatically for file like this from now on." option is greyed out when I choose open in browser so I can't set it as a default action.
This is extremely useful, as it means whenever i download a text file that's not in a .txt format [like a .sql file, for example], I can open it straight away. Great stuff.
Plugin works as expected, thanks!
Great add-on, FF should have an interface for setting preferred ways to open files based on their extension. I wanted to open .java with FF as text/plain. But after playing around with mimtypes.rdf, I couldn't succeed - I still got the DL window with "Open with" and "save" and it still displayed the .java file as "JAVA file".
Open in Browser lets me open it in FF as txt, but there should be 2 more features:
1. open in new tab - if I click the .java link in a new tab, it doesn't open the file. Also, even if it did, there's a problem for JS links, which you can't open in new tab.
2. I can't tell the add-on to always open files with a certain extension the way I want.
Overall quite useful and time saving.
Really helps me with my Firefox at Linux mint OS.
By default, FF tried to open application/json urls like a file. And in my work I extremely need such urls to be open just like text.
Currently "do this for all files of such type" checkbox is disabled for new option. It's will be very cool if this option could be saved. Because sometimes I use this option 5 times per minute ;-)
Great add-on. I use it all the time when servers send files I can display in the browser but with the "wrong" headers.
Unfortunately, the add-on stopped working in Firefox Nightly (version 33). It still shows up but pressing the OK button does not do anything anymore. Can you take a look?
I'm trying to get a PDF file on my HD to open in a tab in Firefox rather than in Adobe Reader. This doesn't work for that. So far, nothing that I have found does. :o(
Only request that I can't see has already been made, is to make this add-on no-restart. Restarting the browser to install an extension like this seems like it should be unnecessary.
*EDIT* Just found something I assumed this add-on could facilitate, also - Open GZIP or ZLIB compressed files in browser, without decompression by separate utility beforehand. Currently when trying to open a GZIP compressed file (without a file extension), the only option this add-on gives is to "View Source", not "[Open in] Web Browser".
Would be great if it could also be programmed to allow the URL and/or file contents to be passed to a specific file via command line (along with other arguments). Would also be great if behaviors could be made site-specific...
Amazing , can't live without it anymore, pity that Firefox goes back in this matters