mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Register as File browser handler in Chrome OS
This commit is contained in:
parent
b0e18a0703
commit
60fb28caf0
5 changed files with 135 additions and 11 deletions
|
@ -1588,6 +1588,9 @@ document.addEventListener('DOMContentLoaded', function webViewerLoad(evt) {
|
|||
//#endif
|
||||
//#if CHROME
|
||||
//var file = DEFAULT_URL;
|
||||
//// XHR cannot get data from drive:-URLs, so expand to filesystem: (Chrome OS)
|
||||
//file = file.replace(/^drive:/i,
|
||||
// 'filesystem:' + location.origin + '/external/');
|
||||
//#endif
|
||||
|
||||
//#if !(FIREFOX || MOZCENTRAL || CHROME || B2G)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue