This extension prevents webservers from forcing pdfs to download rather than open in browser

Latest Version

Version
0.3
Update
August 11, 2013
Size
2.99KiB
Developer
Category
Users
2,000+
Rating
3.17073 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
WebRequest
WebRequestBlocking
*://*/*
See more

PDF Forcedownload Blocker Extension

Many websites will attempt to force you to download linked PDF files, rather than handle them as per your preferences. (By default, your preferences are set to open them in-browser with Chrome's PDF plugin).

This extension blocks two common ways of forcing your browser to download PDF files, allowing you to handle them consistently and as you choose.

WARNING, USE AT OWN RISK:
Some websites load pdfs into invisible elements for download, causing them not to be seen at all when this extension is enabled. Unfortunately I can't find a good solution for this :(
Most commonly where this is encountered (eg on google docs), the pdf is linked with a name not corresponding to it's filename. To this end the extension now ignores links that don't have \".pdf\" in them.

I wrote this app for myself and my friends at uni, to combat university pdfs being linked with forced download. I don't really know much Javascript/HTTP, so no guarantees :)
Read more

Source Manifest.json

{ "update_url": "https://clients2.google.com/service/update2/crx", "description": "This extension prevents webservers from forcing pdfs to download rather than open in browser", "background": { "scripts": ["eventPage.js"], "persistent": true }, "name": "PDF Forcedownload Blocker", "permissions": [ "webRequest", "webRequestBlocking", "*://*/*" ], "manifest_version": 2, "version": "0.3"}
Read more

Similar Extensions

icon

Download Master - Free Download Manager Extension · Accessibility 2,000+ 548 ★ 210KiB

icon

Beck PDF Downloader Extension · Accessibility 2,000+ 15 ★ 4.7KiB

icon

Download All PDFs Extension · Productivity 2,000+ 31 ★ 197KiB

icon

Don't Download PDFs Extension · Productivity 2,000+ 17 ★ 13.17KiB

icon

HTML5 PDF Printing in Chrome Extension · Accessibility 2,000+ 2 ★ 3.02MiB

icon

Tab PDF Downloader Extension · Productivity 2,000+ 0 ★ 19.79KiB

icon

Modify Content-Type Extension · Developer Tools 2,000+ 35 ★ 42.36KiB

icon

Force Download Extension · Productivity 2,000+ 25 ★ 31.65KiB

icon

No PDF Download Extension · Productivity 2,000+ 42 ★ 8.05KiB

icon

PDF Mage Extension · Accessibility 2,000+ 254 ★ 122KiB

icon

SSRN PDF Extension · Productivity 2,000+ 0 ★ 2.94KiB

icon

Open in PDF Viewer Extension · Productivity 2,000+ 135 ★ 17.96KiB

icon

PDF Reader Extension · Productivity 2,000+ 78 ★ 5.87MiB

icon

UBBox PDF Download Extension · Accessibility 2,000+ 0 ★ 15.95KiB

icon

Undisposition [Racle fork] Extension · Productivity 2,000+ 35 ★ 15.47KiB

icon

Save as PDF Extension · Productivity 2,000+ 1992 ★ 32.72KiB

icon

Awesome PDF Viewer, Reader Extension · Productivity 2,000+ 110 ★ 28.99KiB

icon

PDF Viewer Extension · Productivity 2,000+ 374 ★ 2.51MiB

icon

Open in PDF Reader Extension · Productivity 2,000+ 50 ★ 56.02KiB

icon

Document Preview Exporter for Google Drive Extension · Accessibility 2,000+ 51 ★ 283KiB

icon

PDF Viewer for Vimium C Extension · Productivity 2,000+ 30 ★ 2.88MiB

icon

Print Selection to PDF Extension · Productivity 2,000+ 14 ★ 227KiB

icon

Multi-File Downloader Extension · Productivity 2,000+ 117 ★ 27.99KiB

icon

iWeb2x - URL to PDF & Image Extension · Productivity 2,000+ 294 ★ 107KiB

User reviews

icon

Forever Thatter (ID: 0000006cd61dbf01) Voted 1 ★ - Updated 09/14/2022 It sucks.

icon

Christoph Thiede (ID: 0000002a93fc4255) Voted 3 ★ - Updated 03/30/2022 This sounds very promising, but it doesn't seem to work for GitHub releases such as this one: https://github.com/LinqLover/sonyx/releases/download/v0.2/sonyx-study-final.pdf

icon

Luc Y. (ID: 000000f8e4664af9) Voted 5 ★ - Updated 03/07/2022 Works as described! For those who say it doesn't: Make sure your default browser behaviour is also set to open PDFs instead of downloading them as this blocker only sets forcedownload=0. (For Chrome: Settings > Security and privacy > Site settings > Additional content settings > PDF documents)

icon

Jay Bingham (ID: 0000000e05241b0d) Voted 2 ★ - Updated 12/07/2021 It did not work for me on the web page where I tried it; the link still forces a download. The URL that I clicked does not contain PDF in it instead it has this string at the end: AttachmentViewer.ashx?AttachmentID=57723&ItemID=35671, which may mean that the extension will not detect that a PDF is is being forced to download, I don't know. I do know that if it does not work or only works in limited cases it is of little use to me.

icon

Yue Shi (ID: 00000025d1c38f2d) Voted 5 ★ - Updated 05/23/2021 挺好用的