Fix Facebook Unresponsive Script Freezing Firefox

January 10, 2011 · 13 comments

in IT & Tech

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: https://support.mozilla.com/en-US/kb/The%20Adobe%20Flash%20plugin%20has%20crashed

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

Kimberly

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!


13 comments
lenny19
lenny19

I get it when reading comments and the site sits idle and meanwhile new comments are getting posted via facebook's ajax script. This might cause firefox to figure there is some script attacking while it is just new comments being posted.

To simply switch off the alarm at firefox is wrong solution. Firefox requires additional update to understand that those actions on facebook are simply new comments popping in and not malware code attack.

lil peezy
lil peezy

does anyone have a solution o this problem?

joel_jman
joel_jman

Thanks for the solution!

This unresponsive script thing always shows up whenever my screen is idle.

Zain Devraj
Zain Devraj

I'm very tired with this issue still, I've set value to 0 but when I quite firefox and again I open it has same problem and value goes to 10 automatically. Please help me I'm really sick with this issue now.

Imran shah
Imran shah

Thank you very very very much . can i same for gmail or its fix for all ?

david
david

@david Oulia

try setting it to 0.

but like the person said if its the whole firefox thats not responsive then youll have to close firefox maunally by doing like ctr+alt+del.. but yea try it

David Ouila
David Ouila

I followed this suggestion with no luck. Even got exasperated enough to set the number as high as 500! Still no luck.

Stephanie Baker
Stephanie Baker

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!

Paul Karwal
Paul Karwal

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

Maria Erving
Maria Erving

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! :-)

Denise
Denise

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

DD@Phila

Greg
Greg

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?

Kim Castleberry
Kim Castleberry

This is a fix, if it works for you, for the entire browser. Meaning, it's a fix for Firefox. It would not however fix issues that you may face if you used Chrome instead.