搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

can I disable console.log truncation?

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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.

所有回复 (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.

由archivist113于修改

more options