1
I wanted to view .cpp source code in FireFox so I selected FireFox as the application to open it with and checked "always do this" but when I clicked the link new tabs kept opening up and wouldn't stop. I simply want to view .cpp files in FireFox how can I do this and why didn't it work?
I'm viewing a website with a link to a .cpp file and I want to click the link and show the text in the browser. I'm using latest FireFox on Windows 7 Enterprise.
Why can't FireFox view .cpp files, they are just text? – Celeritas – 2012-07-31T04:00:35.283
@Celeritas - because according to Firefox .cpp isn't plain text. If you really want firefox to treat .cpp as text I suggest having a look at kenorb's answer - you'll need to change firefox's definition of plain text to include files ending in .cpp – Robotnik – 2012-08-01T06:20:21.793