1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MetaMimeType: View PDF Attachments in-browser 0.2a

Alters the MIME type of .pdf and .txt files so they display in the browser instead of downloading.

  1. Mick West
    Compatible XF Versions:
    • 1.2
    • 1.3
    By default XenForo gives all non-image attachments the MIME type of 'application/octet-stream' - this means that attachments such as .pdf and .txt files will act like binary files, and not be opened by the browser (instead they will be downloaded, and you have to open the downloaded file).

    MetaMimeType is a small patch to replace the MIME type on .pdf and .txt attachments files so they display correctly.

    The types are set in the options as a simple list of extension,mimetype, extension,mimetype, etc...

    So you could add more.


    1. Options: MetaMimeType | Admin CP - Metabunk 2014-02-19 17-54-53 2014-02-19 17-55-09.jpg
    2. PDF and Firefox | Metabunk 2014-02-19 17-57-22 2014-02-19 17-58-47.jpg
    erich37, ngannguyen, BassMan and 2 others like this.

Recent Reviews

  1. Pacican
    Version: 0.2a
    Does exactly what it says! Works fine with 1.3.
  2. BassMan
    Version: 0.2
    Works great.
  3. RoldanLT
    Version: 0.1
    Excellent Addon!