pdf.js/extensions/chromium
Rob Wu ae74e1bbd6 Deduct file type from content-disposition
A user encountered a response that looks like:

URL: some gibberish
Headers:

    Content-Type: application/octet-stream
    Content-Disposition: attachment; filename="something.pdf"

In the Chrome extension, the "attachment" content disposition is almost
always ignored (i.e. the PDF Viewer will try to view it anyway). So we
need to fall back to the Content-Disposition header if the URL check is
inconclusive.
2016-09-17 22:34:18 -07:00
..
options Support syncing of settings in Chrome extension 2016-05-25 00:51:51 +02:00
pageAction Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
.gitignore Renaming of extensions/chrome folder to extensions/chromium, and small tweak to manifest.json description as per #3600 2013-08-21 18:11:35 +02:00
contentscript.js Force inline block display style for <object>. 2016-06-11 15:54:16 +02:00
contentstyle.css <object> / <embed> support in Chromium extension 2014-05-09 15:46:12 +02:00
extension-router.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
feature-detect.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
icon16.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon19.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon38.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon48.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
icon128.png optimize png images using zopflipng 2016-07-10 17:49:16 +08:00
manifest.json Remove support for frames in old Chromium versions 2016-05-10 22:40:07 +02:00
pdfHandler-vcros.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
pdfHandler.html Add opt-out telemetry to the Chrome extension 2016-06-03 20:36:57 +02:00
pdfHandler.js Deduct file type from content-disposition 2016-09-17 22:34:18 -07:00
preferences_schema.json Add a enhanceTextSelection preference 2016-09-08 10:22:01 +02:00
preserve-referer.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
restoretab.html Restore extension tab after reload 2015-08-14 19:00:12 +02:00
restoretab.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
suppress-update.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
telemetry.js Fix typo in telemetry.js, follow-up to #7370 2016-06-03 23:28:01 +02:00