cancel
Showing results for 
Search instead for 
Did you mean: 

How do I remove the 10000 char limit for alert boxes?

Highlighted
New User

How do I remove the 10000 char limit for alert boxes?

I am a web developer professionally, and I tend to use Firefox alert boxes as a quick easy way to debug JSON data, because Firefox seems to have the only alert box that allows selection/copying. (Alert the JSON data, copy it and paste it into jsonlint.com to get a detailed error message, rather than the default "JSON.parse" error).

With Firefox 5, I noticed that the alert box now seems to be limited to 10000 characters where it wasn't before (This may have actually happened in 4, they came out in such rapid succession, it's hard to tell).

This makes it more difficult to troubleshoot. Is there something I can change in about:config to either remove the 10000 character limit or at least set it to something a bit more usable?

Tags (2)
1 REPLY
New User

Re: How do I remove the 10000 char limit for alert boxes?

Instead of using alert, use firebug's console.log to output large amounts of data.