This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I force Firefox to follow a link and render the page as text or HTML, rather than showing the file download dialogue?

  • 1 nzaghachinzaghachi
  • 2
  • 111 views
  • Nzaghachi ikpeazụ nke cor-el

more options

On some pages (like http://www.de.ioccc.org/years.html) , URLs with (perhaps unrecognised) file extensions like .c or .hint point to text files which can be rendered normally in Firefox, but which bring up the file download dialogue box. I don't want to download these files - just to view them from the browser. Perhaps this is an issue of mime types on the server side, but it seems logical that Firefox would allow the user to override this behaviour. Does it?

On some pages (like http://www.de.ioccc.org/years.html) , URLs with (perhaps unrecognised) file extensions like .c or .hint point to text files which can be rendered normally in Firefox, but which bring up the file download dialogue box. I don't want to download these files - just to view them from the browser. Perhaps this is an issue of mime types on the server side, but it seems logical that Firefox would allow the user to override this behaviour. Does it?

All Replies (1)

more options

You can look at Open in Browser: https://addons.mozilla.org/firefox/addon/8207

A possible workaround without an extension is to pre-fix the link with the view-source: protocol

view-source:http://www.de.ioccc.org/2004/README