Rob Wu
be012ed1df
[CRX] Don't intercept download of PDF attachment
...
Fixes #3426
12 years ago
Rob Wu
efcf2aed6e
[Chrome extension] Added JSDocs to pdfHandler.js
...
And a small refactor to reduce the LOC in the onHeadersReceived
callback, to improve the readability of the code.
12 years ago
Rob Wu
e181a3c902
Highly improved Chrome extension
...
Full list feature changes in this commit:
- Support for iframes
- Switched to content-type (MIME) detection instead of hard-coding a
case-sensitive check for the .PDF extension
- The PDF's original URL is visible in the omnibox
- Support for incognito mode
Note: PDF viewer is disabled for the file:// + incognito
combination, because it's currently impossible to get the combination
to work.
See https://github.com/mozilla/pdf.js/pull/3017#issuecomment-15693432
12 years ago
Yury Delendik
fcc169453b
Adds the extensions/* files for jshint
12 years ago
Michael Payne
05bca47b11
Include uppercase extensions for Chrome
...
add uppercase case extension recognition for Chrome pdf.js
13 years ago
Michael Payne
6ca9245a39
Changes to allowed versioned building of Chrome extension that meets new
...
Chrome extension security requirements
13 years ago
Michael Payne
088c6e17e8
changes to allow chrome extension to load
...
changes to remove inline scripts, update manifest version, fix make.js
so compatibility.js isn't included for chrome. Due to new Chrome
extension changes outlined at
http://developer.chrome.com/extensions/manifestVersion.html
13 years ago
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
13 years ago
notmasteryet
0c7d45bbfb
Chrome extension: uses encodeURIComponent; fixes download button
13 years ago
Lucas Stadler
913faac2e4
Make chrome extensions compatible with latest API changes.
...
That is, webRequest is no longer experimental and so it's easier
to start (without --enable-experimental-extension-apis).
13 years ago
Vivien Nicolas
6e10114647
Add content/ to the viewer.html path
14 years ago
Vivien Nicolas
08af0c7686
Initial Chrome extension import
14 years ago