Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 1 svar
  • 9 har detta problem
  • 3 visningar
  • Senaste svar av 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?

Alla svar (1)

more options

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