Skip to main content
Participant
September 10, 2025
Question

Disabling JavaScript in a Law firm

  • September 10, 2025
  • 2 replies
  • 118 views

Hi,

We have been asked by our Security team to disable JavaScript in Acrobat. However, we have no idea how pervasive and frequent people use JavaScript is in our environment. Hence the below questions.

 

1. What are youre experiences with disabling JavaScript in a medium-sized company or Law firm?

2. Is there a way to audit JavaScript usage?

 

Thanks in advance!

2 replies

PDF Automation Station
Community Expert
Community Expert
September 10, 2025

This is how you disable it:

Press Ctrl + k to open preferences.  Select the JavaScript category in the left column.  Uncheck "Enable Adobe JavaScript".

However, most interactive PDF forms have some JavaScript and they will not function properly when it is disabled.  @K37194599d5w9  makes some great points and asks excellent questions.  Scripts that execute functions that can be damaging if the user is unaware usually have to be exectuted from a trusted environment (trusted functions in folder level scripts, JavaScript console, and Actions).   I have created several PDF automation projects for law firms that save them countless hours of time - all running on JavaScript.

Participating Frequently
September 10, 2025

As a prerequisite, your firm ought to review the internal pdf forms it uses to see if there is any javascript written and what it does.  Depending upon your type of practice, If you are not using pdf forms with javascript, you are likely wasting alot of time.  In my law practice, we use extensive javascrit both at the action level and field level.  What took hours now takes minutes (true).   1. FInd out if you are using javascript.  If yes, i recommend working with your security team to find out their reasoning and see if there is a work around.  

On  an individual form level, one thing you can look at the field calculation scripts and the Actions to see if they contain javascript.  

I know this is not answering your questions, I am merely giving you more questions to ask.

 

A very small example of what Javascript does, saving countless amount of time:

1. Populates an entire lawsuit from a client provided form converted with Python

2. inserts exhibits in the correct place

3. Extracts lawsuit packages to e-file with the court, in court compliant format with bookmarking the exhibits

4. Calculates all math required for a trial, default, motion, etc. 

5. Adds additional documents for a case in the correct place.

 

If the security is concerned about external pdfs with malicious javascript, they can liklely sandbox them and extract the necessary information.  Bottom line, get more information.