Resource icon

Unmaintained MetaMimeType: View PDF Attachments in-browser 0.2a

No permission to download
Compatible XF 1.x versions
  1. 1.2
  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.
  • Options: MetaMimeType | Admin CP - Metabunk 2014-02-19 17-54-53 2014-02-19 17-55-09.webp
    Options: MetaMimeType | Admin CP - Metabunk 2014-02-19 17-54-53 2014-02-19 17-55-09.webp
    10.6 KB · Views: 360
  • PDF and Firefox | Metabunk 2014-02-19 17-57-22 2014-02-19 17-58-47.webp
    PDF and Firefox | Metabunk 2014-02-19 17-57-22 2014-02-19 17-58-47.webp
    97.3 KB · Views: 359
Author
Mick West
Downloads
71
Views
1,024
First release
Last update

Ratings

5.00 star(s) 3 ratings

More resources from Mick West

Latest updates

  1. removed unnecessary files

    Tidy up zip, removing OSX files
  2. Added options for extra mime types

    mime types are now specified in options so you can add more

Latest reviews

Does exactly what it says! Works fine with 1.3.
Works great.
Excellent Addon!
Top Bottom