Copy link to clipboard
Copied
On company computers Javascript execution in Acrobat is disabled by default (in registry bDisableJavaScript -Value '1') BUT... we have a custom application that needs to run certain PDF files allowing Javascript execution.
At the moment the user has to allow the javascript manually when opening the file, by clicking on the top bar.
Is there a way for the application to open the file passing the instruction not to block javascript ?
thank you!
Not possible.
Copy link to clipboard
Copied
Not possible.
Copy link to clipboard
Copied
If there were a script to allow JavaScript to run, it wouldn't run while JavaScript is disabled.
Copy link to clipboard
Copied
There is a way to set a JavaScript requirement in the PDF so that Acrobat will warn the user about JavaScript in the document not running.
The requirements are set with a script run from the console window.
https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/doc.html#addrequirement