Google Chrome extension to force certain content types to be viewed inline


Motivation:
Sometimes you access a URL that causes your browser to prompt you to save the content to a file. For example, you might click on a PDF link (such as this one), and instead of the browser viewing it, it prompts you to save it. This can be annoying when you just want to view the file.

There are two ways this can be configured:

  1. Specify content types that you want the browser to handle. For example, you could specify "application/pdf" with the "pdf" file extension to have all PDF files viewed in the browser.
  2. Specify that the browser should always try to handle the content where possible. Note that this won't always work correctly since not all web servers provide the real content types of the files they're serving.

Last edited Jul 6, 2013 at 7:10 AM by spalmer, version 4