Fix Unresponsive Script Warning

There are times depending on what is running in the background and other Internet activity that Thunderbird (or Firefox) may get bogged down and a JavaScript may take a little longer than normal to complete. Users will get a warning similar to the one below advising that the script is unresponsive. The reason for this is because the application thinks the script is running wild and never going to finish processing thus causing the application to freeze and/or crash. This is very similar to Windows Task Manager warning you that an application is not responding, but the application is just a bit bogged down (which commonly happens with JavaScript) and needs more time to finish what it is doing.

The ‘fix’ for this is fairly simple, just increase the amount of time before a script is considered ‘unresponsive’. This can be done in both Thunderbird and Firefox via the Config Editor… (Thunderbird) and about:config (Firefox):

Thunderbird

  1. Go to Tools >> Options…
  2. Click on the Advanced tab on top
  3. At the bottom of the window is a section Advanced Configuration
  4. Click on the Config Editor… button at the lower right
  5. In the Config Editor… type dom.max_script_run_time in the Filter field
  6. Double click the entry and in the in the pop-up box type 20 and press enter
  7. Close the window

Firefox

  1. In a new tab type about:config in the address bar and press enter
  2. In the about:config manager type dom.max_script_run_time in the Filter field
  3. Double click the entry and in the in the pop-up box type 20 and press enter
  4. Close the tab

Source: Itchy Hands