[Haskell-cafe] viewing HS files in Firefox

Dougal Stanton ithika at gmail.com
Sat Oct 27 19:07:27 EDT 2007

On 27/10/2007, Isaac Dupree <isaacdupree at charter.net> wrote:
> When I try to go to one of the Module.hs files, e.g. on
> darcs.haskell.org, it now has type HS and Firefox refuses to display it
> (and only lets me download it).  Does anyone know how to make Firefox
> treat certain file types as others (HS as plain text, in particular)?
> so that I can browse them with any convenience

I've looked into this before but haven't found a satisfactory answer.
At best, you can get the offending MIME types to open in a third party
text viewer. But I don't know how to force the internal text viewer.

Actually, a thought occurs. The address bar prefix view-source: works
for html. As in, "http://www.haskell.org" ->
"view-source:http://www.haskell.org". This might be an effective
workaround though I don't have a page to test it on right now.



More information about the Haskell-Cafe mailing list