Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

can I disable console.log truncation?

  • 3 respostas
  • 1 tem este problema
  • 1 visualização
  • Última resposta por archivist113

more options

While it is great for readability, but this is preventing me from extracting URLs if the string is too long.

I'm using a greasemonkey script to extract URLs from pages. The problem is not the code nor greasemonkey, it is when it logs a long URL string into the console log, it gets the truncated version (although clickable and goes to the right page) and if you copy the text or "Export Visible Nessage to", it will copy the truncated text instead of the full text, which those are now invalid URLs.

Is there a way I can disable this in the options? I tried going to the hamburger menu or the “...” on the devtools and couldn't find the option.

While it is great for readability, but this is preventing me from extracting URLs if the string is too long. I'm using a greasemonkey script to extract URLs from pages. The problem is not the code nor greasemonkey, it is when it logs a long URL string into the console log, it gets the truncated version (although clickable and goes to the right page) and if you copy the text or "Export Visible Nessage to", it will copy the truncated text instead of the full text, which those are now invalid URLs. Is there a way I can disable this in the options? I tried going to the hamburger menu or the “...” on the devtools and couldn't find the option.

Todas as respostas (3)

more options
more options

I prefer this to be done on every log rather than individually (would be extremely tedious), because I'm doing this at a large scale. FF should have the option to show the full text on the entire console log and when exporting visible messages.

Modificado por archivist113 a

more options