Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

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

  • 1 freagra
  • 9 leis an bhfadhb seo
  • 3 views
  • Freagra is déanaí ó phihag

more options

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?

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?

All Replies (1)

more options

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