Mozilla 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

How do you prevent firefox from truncating strings printed via console.log?

  • 3 प्रत्युत्तर
  • 1 यह समस्या है
  • 1 view
  • के द्वारा अंतिम प्रतियुतर jscher2000 - Support Volunteer

more options

All strings printed to the console get truncated. I would like to see the full string or at least copy it to my clipboard.

All strings printed to the console get truncated. I would like to see the full string or at least copy it to my clipboard.

All Replies (3)

more options

Did you try to click the string to see if that expands it to show the full text?

more options

No, nothing happens when I do that.

Using Firefox 57.

more options

At what lengths are the strings truncated?

If I open Firefox's web console and execute:

console.log(document.body.outerHTML);

There is a continuation widget [...] and when I click that I see the entire rest of the body of this page there. That's substantially more text than I usually would log...