X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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?

Additional System Details

Installed Plug-ins

Can't tell you because the add-ons page just complains about browser.sessionHistory being null instead of displaying the actual add-ons window.

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.32 Safari/535.1

More Information

Application Basics
Name
Firefox
Version
5.0
User Agent
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Profile Directory
Open Containing Folder
Enabled Plugins
about:plugins
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
ColorZilla
2.5.5
true
{6AC85730-7D0F-4de0-B3FA-21142DD85326}
Firebug
1.7.3
true
firebug@software.joehewitt.com
FireShot
0.91
true
{0b457cAA-602d-484a-8fe7-c1d894a011ba}
Java Console
6.0.16
true
{CAFEEFAC-0016-0000-0016-ABCDEFFEDCBA}
Java Console
6.0.17
true
{CAFEEFAC-0016-0000-0017-ABCDEFFEDCBA}
Java Console
6.0.20
true
{CAFEEFAC-0016-0000-0020-ABCDEFFEDCBA}
Java Console
6.0.21
true
{CAFEEFAC-0016-0000-0021-ABCDEFFEDCBA}
Java Console
6.0.22
true
{CAFEEFAC-0016-0000-0022-ABCDEFFEDCBA}
Java Console
6.0.23
true
{CAFEEFAC-0016-0000-0023-ABCDEFFEDCBA}
Java Console
6.0.24
true
{CAFEEFAC-0016-0000-0024-ABCDEFFEDCBA}
Live HTTP headers
0.17
true
{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}
MeasureIt
0.4.8
true
{75CEEE46-9B64-46f8-94BF-54012DE155F0}
SQLite Manager
0.7.4
true
SQLiteManager@mrinalkant.blogspot.com
Web Developer
1.1.9
true
{c45c406e-ab73-11d8-be73-000a95be3b12}
Adobe Contribute Toolbar
6.0
false
{01A8CA0A-4C96-465b-A49B-65C46FAD54F9}
Dust-Me Selectors
2.2
false
{3c6e1eed-a07e-4c80-9cf3-66ea0bf40b37}
FiddlerHook
2.2.9.8
false
fiddlerhook@fiddler2.com
Firesheep
0.1
false
firesheep@codebutler.com
Google Toolbar for Firefox
7.1.20110512W
false
{3112ca9c-de6d-4884-a869-9855de68056c}
Microsoft .NET Framework Assistant
0.0.0
false
{20a82645-c095-46ed-80e3-08825760534b}
Skype extension
5.0.0.6906
false
{AB2CE124-6272-4b12-94A9-7303C7397BD1}
Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar
0
browser.fixup.alternate.enabled
false
browser.history_expire_days.mirror
180
browser.link.open_newwindow
2
browser.places.importBookmarksHTML
false
browser.places.smartBookmarksVersion
2
browser.startup.homepage
http://kgreene.com/
browser.startup.homepage_override.buildID
20110615151330
browser.startup.homepage_override.mstone
rv:5.0
browser.tabs.warnOnClose
false
extensions.lastAppVersion
5.0
font.name.serif.x-western
Verdana
network.cookie.prefsMigrated
true
network.http.max-persistent-connections-per-proxy
24
places.database.lastMaintenance
1309193367
places.history.expiration.transient_current_max_pages
128795
places.last_vacuum
1295642927
print.print_printer
HP LaserJet P4050
print.printer_Adobe_PDF.print_bgcolor
false
print.printer_Adobe_PDF.print_bgimages
false
print.printer_Adobe_PDF.print_command
print.printer_Adobe_PDF.print_downloadfonts
false
print.printer_Adobe_PDF.print_edge_bottom
0
print.printer_Adobe_PDF.print_edge_left
0
print.printer_Adobe_PDF.print_edge_right
0
print.printer_Adobe_PDF.print_edge_top
0
print.printer_Adobe_PDF.print_evenpages
true
print.printer_Adobe_PDF.print_footercenter
print.printer_Adobe_PDF.print_footerleft
&PT
print.printer_Adobe_PDF.print_footerright
&D
print.printer_Adobe_PDF.print_headercenter
print.printer_Adobe_PDF.print_headerleft
&T
print.printer_Adobe_PDF.print_headerright
&U
print.printer_Adobe_PDF.print_in_color
true
print.printer_Adobe_PDF.print_margin_bottom
0.5
print.printer_Adobe_PDF.print_margin_left
0.5
print.printer_Adobe_PDF.print_margin_right
0.5
print.printer_Adobe_PDF.print_margin_top
0.5
print.printer_Adobe_PDF.print_oddpages
true
print.printer_Adobe_PDF.print_orientation
0
print.printer_Adobe_PDF.print_pagedelay
500
print.printer_Adobe_PDF.print_paper_data
1
print.printer_Adobe_PDF.print_paper_height
11.00
print.printer_Adobe_PDF.print_paper_size_type
0
print.printer_Adobe_PDF.print_paper_size_unit
0
print.printer_Adobe_PDF.print_paper_width
8.50
print.printer_Adobe_PDF.print_reversed
false
print.printer_Adobe_PDF.print_scaling
1.00
print.printer_Adobe_PDF.print_shrink_to_fit
true
print.printer_Adobe_PDF.print_to_file
false
print.printer_Adobe_PDF.print_unwriteable_margin_bottom
0
print.printer_Adobe_PDF.print_unwriteable_margin_left
0
print.printer_Adobe_PDF.print_unwriteable_margin_right
0
print.printer_Adobe_PDF.print_unwriteable_margin_top
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_bgcolor
false
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_bgimages
false
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_command
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_downloadfonts
false
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_edge_bottom
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_edge_left
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_edge_right
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_edge_top
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_evenpages
true
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_footercenter
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_footerleft
&PT
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_footerright
&D
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_headercenter
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_headerleft
&T
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_headerright
&U
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_in_color
true
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_margin_bottom
0.5
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_margin_left
0.5
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_margin_right
0.5
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_margin_top
0.5
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_oddpages
true
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_orientation
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_pagedelay
500
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_paper_data
1
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_paper_height
11.00
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_paper_size_type
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_paper_size_unit
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_paper_width
8.50
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_reversed
false
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_scaling
1.00
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_shrink_to_fit
true
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_to_file
false
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_unwriteable_margin_bottom
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_unwriteable_margin_left
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_unwriteable_margin_right
0
print.printer_HP_LaserJet_P4014/P4015_PCL6.print_unwriteable_margin_top
0
print.printer_HP_LaserJet_P4050.print_bgcolor
false
print.printer_HP_LaserJet_P4050.print_bgimages
false
print.printer_HP_LaserJet_P4050.print_command
print.printer_HP_LaserJet_P4050.print_downloadfonts
false
print.printer_HP_LaserJet_P4050.print_edge_bottom
0
print.printer_HP_LaserJet_P4050.print_edge_left
0
print.printer_HP_LaserJet_P4050.print_edge_right
0
print.printer_HP_LaserJet_P4050.print_edge_top
0
print.printer_HP_LaserJet_P4050.print_evenpages
true
print.printer_HP_LaserJet_P4050.print_footercenter
print.printer_HP_LaserJet_P4050.print_footerleft
&PT
print.printer_HP_LaserJet_P4050.print_footerright
&D
print.printer_HP_LaserJet_P4050.print_headercenter
print.printer_HP_LaserJet_P4050.print_headerleft
&T
print.printer_HP_LaserJet_P4050.print_headerright
&U
print.printer_HP_LaserJet_P4050.print_in_color
true
print.printer_HP_LaserJet_P4050.print_margin_bottom
0.5
print.printer_HP_LaserJet_P4050.print_margin_left
0.5
print.printer_HP_LaserJet_P4050.print_margin_right
0.5
print.printer_HP_LaserJet_P4050.print_margin_top
0.5
print.printer_HP_LaserJet_P4050.print_oddpages
true
print.printer_HP_LaserJet_P4050.print_orientation
0
print.printer_HP_LaserJet_P4050.print_page_delay
50
print.printer_HP_LaserJet_P4050.print_pagedelay
500
print.printer_HP_LaserJet_P4050.print_paper_data
1
print.printer_HP_LaserJet_P4050.print_paper_height
11.00
print.printer_HP_LaserJet_P4050.print_paper_size_type
0
print.printer_HP_LaserJet_P4050.print_paper_size_unit
0
print.printer_HP_LaserJet_P4050.print_paper_width
8.50
print.printer_HP_LaserJet_P4050.print_reversed
false
print.printer_HP_LaserJet_P4050.print_scaling
1.00
print.printer_HP_LaserJet_P4050.print_shrink_to_fit
true
print.printer_HP_LaserJet_P4050.print_to_file
false
print.printer_HP_LaserJet_P4050.print_unwriteable_margin_bottom
0
print.printer_HP_LaserJet_P4050.print_unwriteable_margin_left
0
print.printer_HP_LaserJet_P4050.print_unwriteable_margin_right
0
print.printer_HP_LaserJet_P4050.print_unwriteable_margin_top
0
print.printer_Microsoft_XPS_Document_Writer.print_bgcolor
false
print.printer_Microsoft_XPS_Document_Writer.print_bgimages
false
print.printer_Microsoft_XPS_Document_Writer.print_command
print.printer_Microsoft_XPS_Document_Writer.print_downloadfonts
false
print.printer_Microsoft_XPS_Document_Writer.print_edge_bottom
0
print.printer_Microsoft_XPS_Document_Writer.print_edge_left
0
print.printer_Microsoft_XPS_Document_Writer.print_edge_right
0
print.printer_Microsoft_XPS_Document_Writer.print_edge_top
0
print.printer_Microsoft_XPS_Document_Writer.print_evenpages
true
print.printer_Microsoft_XPS_Document_Writer.print_footercenter
print.printer_Microsoft_XPS_Document_Writer.print_footerleft
&PT
print.printer_Microsoft_XPS_Document_Writer.print_footerright
&D
print.printer_Microsoft_XPS_Document_Writer.print_headercenter
print.printer_Microsoft_XPS_Document_Writer.print_headerleft
&T
print.printer_Microsoft_XPS_Document_Writer.print_headerright
&U
print.printer_Microsoft_XPS_Document_Writer.print_in_color
true
print.printer_Microsoft_XPS_Document_Writer.print_margin_bottom
0.5
print.printer_Microsoft_XPS_Document_Writer.print_margin_left
0.5
print.printer_Microsoft_XPS_Document_Writer.print_margin_right
0.5
print.printer_Microsoft_XPS_Document_Writer.print_margin_top
0.5
print.printer_Microsoft_XPS_Document_Writer.print_oddpages
true
print.printer_Microsoft_XPS_Document_Writer.print_orientation
0
print.printer_Microsoft_XPS_Document_Writer.print_pagedelay
500
print.printer_Microsoft_XPS_Document_Writer.print_paper_data
1
print.printer_Microsoft_XPS_Document_Writer.print_paper_height
11.00
print.printer_Microsoft_XPS_Document_Writer.print_paper_size_type
0
print.printer_Microsoft_XPS_Document_Writer.print_paper_size_unit
0
print.printer_Microsoft_XPS_Document_Writer.print_paper_width
8.50
print.printer_Microsoft_XPS_Document_Writer.print_reversed
false
print.printer_Microsoft_XPS_Document_Writer.print_scaling
1.00
print.printer_Microsoft_XPS_Document_Writer.print_shrink_to_fit
true
print.printer_Microsoft_XPS_Document_Writer.print_to_file
false
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_bottom
0
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_left
0
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_right
0
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_top
0
privacy.sanitize.migrateFx3Prefs
true
security.warn_viewing_mixed
false
Graphics
Adapter Description
NVIDIA GeForce 9600 GT
Vendor ID
10de
Device ID
0622
Adapter RAM
1024
Adapter Drivers
nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
Driver Version
8.17.11.9745
Driver Date
4-3-2010
Direct2D Enabled
Blocked on your graphics driver. Try updating your graphics driver to version 257.21 or newer.
DirectWrite Enabled
false (6.1.7601.17563, font cache 4.67 MB)
WebGL Renderer
(WebGL unavailable)
GPU Accelerated Windows
0/3

phihag 0 solutions 1 answers

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

Instead of using alert, use firebug's [http://getfirebug.com/wiki/index.php/Console_API#console.log.28object.5B.2C_object.2C_....5D.29 console.log] to output large amounts of data.