Force view text file instead of download in Firefox?

Posted by davr on Super User See other posts from Super User or by davr
Published on 2009-09-18T16:05:47Z Indexed on 2010/03/24 21:13 UTC
Read the original article Hit count: 455

Filed under:
|
|
|

Often times I'll click on a random link to a .sh or .py or .cpp or ... file in Firefox, and all I want is to view the code. I don't have a Firefox handler set up for every text file extension under the sun, and I don't want to have to. Is there an easy way to force Firefox to view the file as text instead of trying to save (or open in external app)?

© Super User or respective owner

Related posts about firefox

Related posts about firefox-addons