Item logo image for Don't Download PDFs

Don't Download PDFs

semenkovich.com
3.9(

17 ratings

)
ExtensionTools2,000 users
Item media 1 screenshot

Overview

Encourage PDFs to show in the browser instead of downloading. By Nick Semenkovich <semenko@alum.mit.edu>.

Annoyed by PDFs that download and save instead of just showing in the tab? This extension encourages PDFs to show in the browser rather than downloading. That's it. Nothing else. ======== Details ======== This works by setting the "Content-Disposition: Inline" header under these conditions: - Content is displayed in the full window (main_frame) AND - The response contains "Content-type: application/pdf" OR - The response contains "Content-type: application/octet-stream" with a filename of "*.pdf" Note that some sites use the "download" attribute in links (e.g. <a href="" download>) which we can't override, but you can right-click those PDFs and select "Open Link in a New Tab". ======== CODE ======== https://github.com/semenko/chrome-force-pdf-inline Copyright 2014-2024 Nick Semenkovich <semenko@alum.mit.edu> Released under the MIT License. See LICENSE for details.

3.9 out of 517 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Details

  • Version
    2024.10.22
  • Updated
    October 17, 2024
  • Size
    13.17KiB
  • Languages
    English
  • Developer
    Website
    Email
    semenko@alum.mit.edu
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

For help with questions, suggestions, or problems, please open this page on your desktop browser

Google apps