16
3
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)?
1
Possible same on SO: http://stackoverflow.com/questions/9191925/how-to-force-firefox-to-open-a-file-which-does-not-have-a-txt-extension-as-if-i
– Ciro Santilli 新疆改造中心法轮功六四事件 – 2015-04-23T05:50:14.063