mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-07 17:05:38 +02:00
[CRX] enableScripting=false by default in Chrome extension
The scripting engine is bundled for users who'd like to use the feature, but it is disabled by default.
This commit is contained in:
parent
99e442941c
commit
628e672765
2 changed files with 7 additions and 5 deletions
|
@ -69,6 +69,12 @@
|
|||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"enableScripting": {
|
||||
"title": "Enable active content (JavaScript) in PDFs",
|
||||
"type": "boolean",
|
||||
"description": "Whether to allow execution of active content (JavaScript) by PDF files.",
|
||||
"default": false
|
||||
},
|
||||
"disableRange": {
|
||||
"title": "Disable range requests",
|
||||
"description": "Whether to disable range requests (not recommended).",
|
||||
|
@ -154,10 +160,6 @@
|
|||
],
|
||||
"default": 2
|
||||
},
|
||||
"enableScripting": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"enablePermissions": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue