Wicked Strategery

Where servers serve, routers route, and configulators configulate

JavaScript Timeouts In Firefox

Written by: Doug Jenkinson

Article

I love using Firefox for my web-browsing needs. So many themes, so many extensions, it's wonderful. But one setting in particular has caused me some aggravation lately.

The behavior that annoys me, is when you have a labor-intensive JavaScript running. Every five seconds, Firefox will prompt you mentioning that the script is taking a long time to execute. It's Firefox's way to give you way out if the JavaScript has entered an infinite loop or similar. Very nice feature, being able to abort the running code without losing the entire browser. It's nice, but every five seconds is a bit much.

I only started to notice this after I installed the Bookmarks Synchronizer extension. It's a fantastic extension that lets you synchronize bookmarks between your computer and a server. Especially useful for sharing one set between multiple computers. However, it's very labor-intensive, and can sometimes take a while to execute. Rather annoying if you are prompted every five seconds.

Doing some digging about on Google, I found a setting that changes the length of time between promptings. It's an integer value that represents the number of seconds to wait.

Open up about:config and alter the value of dom.max_script_run_time. I've been using a value of 60, which means I'll get a message every minute and seems to work very well.


Metadata


Revisions

  • v1.0 (8 Sep 2005) - Article published.

About the Author

Doug Jenkinson is an avid technology aficionado and Software Engineer with Hyland Software, Inc. / entrepreneur in Copley, OH.

Read More...

Linquistory

"The Wørd" of the Night: Truthiness, courtesy of Stephen Colbert

Wikiality

Breadcrumbs

Black Tuesday

API's

Using OpenSSL for AES/Rijndael Encryption

Doug Jenkinson's Résumé

JavaScript Timeouts In Firefox

Personal Links

LinkedIn

Google Profile

My del.icio.us

twitter

My flickr

My ClaimID

Projects

twitlbl

Site Updates

I've added some spiffy new features to my site. You can read all about them in the changelog.

Internet Quote

"Yeah man, I tell ya what, man. That dang ol' Internet, man. You just go on there and point and click. Talk about W-W-dot-W-com. An' lotsa nekkid chicks on there, man. Click. Click. Click. Click. Click. It's real easy, man." - Boomhauer, King of the Hill

Feeds

RSS OPML