Type about:config in the address bar and press Enter.
search for the preference dom.max_script_run_time.
“Warning: Unresponsive script”
“A script on this page may be busy, or it may have stopped responding.
You can stop the script now, or you can continue to see if the script will complete.”