[ This is a slightly modified and shortened backup of http://k-lug.org/~griswold/Progs/adobe7patch.html ]
For security reasons, many people want to disable JavaScript support in Adobe Reader. However, with Adobe Reader 7, this triggers the following warning whenever you exit the program. This happens on both the Windows and Linux versions, even if you do not have a document open.

(...)
Updates:
I've received a couple of reports about an alternate method of disabling the alert box. Apparently, Adobe Reader executes a JavaScript called "glob.settings.js" upon exit, and it is this that causes the alert box to pop up. On Linux, this file is ~/.adobe/Acrobat/7.0/JavaScripts/glob.settings.js, and on Windows, this file is Documents and Settings/user/Application Data/Adobe/Acrobat/7.0/JavaScripts/glob.settings.js. There are three ways that I know of to prevent Adobe Reader from running this file:
Open a terminal or command shell, change to the directory that contains the JavaScripts directory, and run the appropriate commands below.
| Method | Linux | Windows |
|---|---|---|
| 1 | mv JavaScripts JavaScripts.orig; touch JavaScripts |
ren JavaScripts JavaScripts.orig echo. > JavaScripts |
| 2 | chmod 000 JavaScripts | cacls JavaScripts /D user |
| 3 | chmod 000 JavaScripts/glob.settings.js | cacls JavaScripts\glob.settings.js /D user |
(...)
(...)
(...)