We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

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

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.

Όλες οι απαντήσεις (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...