Fix Facebook Unresponsive Script Freezing Firefox

Facebook Unresponsive Script FirefoxOne Solution For Facebook Unresponsive Scripts In Firefox

Okay, truth is that this script issue does not only affect Firefox, but its the only one I’ve had to troubleshoot it with (Its my primary browser) so I wanted to share a solution I found to fix the Facebook Unresponsive Script warning.

I’d had it before and cleared it a long time ago and it returned recently out of the blue. I see more of it when I’m using the groups so I think *for me* its a script in the group ajax auto-refresh that is hanging but I’ve heard varied reports.

Firefox limits the amount of time that  any website script can run and certain things cause some scripts to get sluggish.

Firefox will start frequently throwing an error that reads similar to “Warning : Unresponsive script” when this is the issue you are dealing with. The choices in the popup give you the option to either stop the script or continue, both of which leave the browser semi-non-responsive and likely to throw the error again in a few minutes.

This gets aggravating real fast!

Here’s a work-around to get it sort out the Firefox/Facebook Unresponsive Script! (Thank you to Lee Dodds from his FB Group for this solution)

What we need to do is extend the “allowed” time that Firefox will let a script run before assuming it is misbehaving.

Steps to Fix Facebook Unresponsive Script Freezing Firefox

1. Run Firefox.

2. In the Firefox address/bar, type about:config, and then press Enter. (Do not type http in front of that)

3. Either scroll down to find or use the search filter to locate: Scroll and locate dom.max_script_run_time

4. Double click on the line of dom.max_script_run_time, and change the value to a higher number (in seconds) that you want Firefox to wait before getting the Unresponsive Script warning. By default, the value is 5 or 10 seconds. You can safely set the magical number to let’s say 20. You can set the value to 0 to instruct Firefox to wait foever – no warning and dialog whatsoever. Note that the whole Firefox may be not responsive and cannot be used while waiting for scripts to execute, so the number should not set too high in order to give you an opportunity to stop truly nasty or buggy scripts and recover use of Firefox. [I have set mine to 20]

5. Click OK.

6. Restart Firefox.

Thoughts on fixing the Firefox/Facebook unresponsive script problem

Someone in that group indicated that they thought doing this made facebook load a little slower but they did not feel it was really problematic. I have not observed a slower loadtime. The script was hanging every two seconds for me and had made my browser unusable and unstable and crash-happy so even a touch of a slow down is a dramatic improvement.

There is also a related post of a same or similar issue that may help:

I hope you never need this solution but if you do now you’ll be able to find it here!


PS: While this workaround is aimed at solving the Facebook unresponsive script issue there is no reason it might not work for other sites triggering a similar warning in Firefox.

Get The Inside Scoop!
social tripletKeep up with all the latest social marketing changes!

After Post Widget

This is where you can place your after content optin

Relevant Posts

This is the widget for relevant posts

Leave a Reply

13 Comments on "Fix Facebook Unresponsive Script Freezing Firefox"

4 years 4 months ago

Wow it seems whenever I come by there is always a post dealing with something I am experiencing. I have been getting that unresponsive script, but had not tied in the idea of FB causing it or being related. I thought it was Robo-Form or Adobe (which always seems to be mentioned in the pop-up). But FB makes sense since I usually have it open in another tab.
I have changed the time to wait for the unresponsive script.

I have an unrelated question. I am hearing things about “Doorway pages”. What are your thoughts? Good? Bad? Indifferent?

4 years 2 months ago

Thanks, Kim, for this post. Today the unresponsive scripts finally made me crazy enough to stop everything else and find a solution.

4 years 2 months ago

Thanks Kim! I have had this issue for a while, and I’m not sure it’s Facebook, but I did what you suggested and will hold my fingers crossed! :-)

Paul Karwal
3 years 6 months ago

Comment: Opera Notes
I am very thankful to you for this very informative article about this common error these days especially when it comes to Facebook games and Firefox taking simultaneously. I have followed this solution but it is not working on Snag Bar Add-On. Kindly provide a solution for this Problem also.
Thanks & Regards

3 years 3 months ago

Thank you so much for this post! Unresponsive script errors have been making my Firefox browsing experience miserable for weeks. Your fix worked for me though – what a relief!