Skip to content

adambenali/chrome-force-pdf-inline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrome-force-pdf-inline

A Chrome extension to force PDFs to render inline (overrides Content-Disposition: attachment).

This prevents PDFs from saving & downloading instead of simply opening in Chrome.

Versions

There are two version of this extension:

  • The declarativeWebRequest (DWR) version, which uses an API only available in the beta/dev channels of Chrome. This is lean, and works as an event page.

  • The legacy blockingWebRequest version, which works on the Stable channel of Chrome, but uses an annoying blocking request handler and an always in-memory background page.

Installation

Install this app from the Chrome store.

Author

Nick Semenkovich

License

Copyright 2014-2015, Nick Semenkovich <semenko@alum.mit.edu>.

Released under the MIT License. See LICENSE for details.

About

A Chrome extension to force PDFs to render inline (overrides Content-Disposition: attachment).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%