Privileged versus non-privileged context ¶ Again, for a JavaScript solution, all these factors must be considered.įor documentation on core JavaScript, the reader is directed to the Mozilla Developer Center. Additionally, some APIs are restricted to Acrobat Pro and some cannot be used by Adobe Reader, while others can be used in Adobe Reader only when the document has the appropriate Reader Extension Rights. Most JavaScript API are documented for all versions of Acrobat and Adobe Reader, while others are only defined in later versions. The choice of target application determines, by the table above, the version of JavaScript you should use. When developing a JavaScript solution, you must have a minimum Acrobat (or Adobe Reader) version in mind. The most recent version of Acrobat now uses JavaScript 1.7. In Acrobat 5.0, there was a major effort to extend core JavaScript, then version 1.5, to include much of the functionality of the application and its plug-ins. Initially, JavaScript version 1.2 was used, as the table below shows. JavaScript functionality was added to this version by means of the “Acrobat Forms Author Plug-in 3.5 Update”. The Acrobat extensions to core JavaScript date back to Adobe Exchange 3.01.