18.6 Javascript

PDF files can make use of Javascript for form data validation. If such interactive features are not required then the inclusion of an (albeit tiny) javascript engine serves no purpose. Accordingly, it can be disabled by setting FZ_ENABLE_JS to 0.

/* 
   Choose whether to enable JavaScript. 
   By default JavaScript is enabled both for mutool and PDF interactivity. 
*/ 
/* #define FZ_ENABLE_JS 1 */