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

Changes to allowed versioned building of Chrome extension that meets new

Chrome extension security requirements
This commit is contained in:
Michael Payne 2012-09-06 08:33:07 -07:00
parent d6d4fc8046
commit 6ca9245a39
6 changed files with 111 additions and 26 deletions

View file

@ -30,9 +30,10 @@ chrome.webRequest.onBeforeRequest.addListener(
},
{
urls: [
"http://*/*.pdf", "https://*/*.pdf",
"file://*/*.pdf"
'http://*/*.pdf',
'https://*/*.pdf',
'file://*/*.pdf'
],
types: [ "main_frame" ]
types: ['main_frame']
},
["blocking"]);
['blocking']);