Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 1 отговор
  • 9 имат този проблем
  • 3 изгледи
  • Последен отговор от 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?

Всички отговори (1)

more options

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