Merge pull request #2272 from moderation/master
add uppercase extension recognition for Chrome
This commit is contained in:
commit
f7bfe2cec1
@ -7,7 +7,10 @@
|
||||
"webRequest", "webRequestBlocking",
|
||||
"http://*/*.pdf",
|
||||
"https://*/*.pdf",
|
||||
"file:///*/*.pdf"
|
||||
"file:///*/*.pdf",
|
||||
"http://*/*.PDF",
|
||||
"https://*/*.PDF",
|
||||
"file://*/*.PDF"
|
||||
],
|
||||
"background": {
|
||||
"page": "pdfHandler.html"
|
||||
|
@ -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']
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user