Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

Learn More

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

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

  • 1 válasz
  • 9 embernek van ilyen problémája
  • 3 megtekintés
  • Utolsó üzenet ettől: 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?

Összes válasz (1)

more options

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