1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Include uppercase extensions for Chrome

add uppercase case extension recognition for Chrome pdf.js
This commit is contained in:
Michael Payne 2012-10-17 21:37:24 -07:00
parent 66b9cc8a47
commit 05bca47b11
2 changed files with 8 additions and 2 deletions

View file

@ -32,7 +32,10 @@ chrome.webRequest.onBeforeRequest.addListener(
urls: [
'http://*/*.pdf',
'https://*/*.pdf',
'file://*/*.pdf'
'file://*/*.pdf',
'http://*/*.PDF',
'https://*/*.PDF',
'file://*/*.PDF'
],
types: ['main_frame']
},