PDFjs
Disable or configure PDF.js, the built-in PDF viewer.
Compatibility
Section titled “Compatibility”| Firefox | Firefox ESR | Firefox Enterprise |
|---|---|---|
| Available since 77 | Available since 68.9.0 | Available since 149 |
CCK2 Equivalent: N/A
OMA-URI: PDFjs
Preferences Affected: pdfjs.disabled, pdfjs.enablePermissions
Examples
Section titled “Examples”{ "policies": { "PDFjs": { "Enabled": true, "EnablePermissions": true } }}JSON schema
{ "type": "object", "properties": { "Enabled": { "type": "boolean" }, "EnablePermissions": { "type": "boolean" } }}Values
Section titled “Values”- If
Enabledis set tofalse, the built-in PDF viewer is disabled. - If
EnablePermissionsis set totrue, the built-in PDF viewer will honor document permissions like preventing the copying of text.
Windows (GPO)
Section titled “Windows (GPO)”Software\Policies\Mozilla\Firefox\PDFjs\Enabled = 0x1 | 0x0Software\Policies\Mozilla\Firefox\PDFjs\EnablePermissions = 0x1 | 0x0<dict> <key>PDFjs</key> <dict> <key>Enabled</key> <true/> | <false/> <key>EnablePermissions</key> <true/> | <false/> </dict></dict>