xF1 MetaMimeType: View PDF Attachments in-browser

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,497
    7,735
    321
    localhost
    Heisenberg submitted a new resource:

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

    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...