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",
|
"webRequest", "webRequestBlocking",
|
||||||
"http://*/*.pdf",
|
"http://*/*.pdf",
|
||||||
"https://*/*.pdf",
|
"https://*/*.pdf",
|
||||||
"file:///*/*.pdf"
|
"file:///*/*.pdf",
|
||||||
|
"http://*/*.PDF",
|
||||||
|
"https://*/*.PDF",
|
||||||
|
"file://*/*.PDF"
|
||||||
],
|
],
|
||||||
"background": {
|
"background": {
|
||||||
"page": "pdfHandler.html"
|
"page": "pdfHandler.html"
|
||||||
|
@ -32,7 +32,10 @@ chrome.webRequest.onBeforeRequest.addListener(
|
|||||||
urls: [
|
urls: [
|
||||||
'http://*/*.pdf',
|
'http://*/*.pdf',
|
||||||
'https://*/*.pdf',
|
'https://*/*.pdf',
|
||||||
'file://*/*.pdf'
|
'file://*/*.pdf',
|
||||||
|
'http://*/*.PDF',
|
||||||
|
'https://*/*.PDF',
|
||||||
|
'file://*/*.PDF'
|
||||||
],
|
],
|
||||||
types: ['main_frame']
|
types: ['main_frame']
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user