“Ever since I upgraded to Firefox 1.5, I’ve been getting some unresponsive script warnings on sites that employ heavy Javascript like Gmail or Bloglines. Curious about it, I dug around and managed to find out how to fix the problem.”
The solution is tweaking the value of dom.max_script_run_time in your Firefox config; David sets it to 20 (from the default of 8).