Dont Download PDFs in Chrome with OffiDocs

Dont Download PDFs in Chrome with OffiDocs

Dont Download PDFs Chrome web store extension


DESCRIPTION:

Run the Chrome online web store extension Dont Download PDFs using OffiDocs Chromium online.

Encourage PDFs to show in the browser instead of downloading. By Nick Semenkovich <This email address is being protected from spambots. You need JavaScript enabled to view it.>.

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 <This email address is being protected from spambots. You need JavaScript enabled to view it.>

Released under the MIT License. See LICENSE for details.

Dont Download PDFs web extension integrated with the OffiDocs Chromium online

LATEST WORD & EXCEL TEMPLATES