Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How to hide link to source of run js-command in the console

  • 1 trả lời
  • 1 gặp vấn đề này
  • 10 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

JavaScript file uses command ```console.log()``` for showing values and outputs they into console. Next to the displayed result, there is a link to the place where the function was called (the source). I need to copy the displayed result, but when I select text in the console, these links get there.

How do I disable these links so that they are not displayed when data is output?

JavaScript file uses command ```console.log()``` for showing values and outputs they into console. Next to the displayed result, there is a link to the place where the function was called (the source). I need to copy the displayed result, but when I select text in the console, these links get there. '''How do I disable these links so that they are not displayed when data is output?'''
Đính kèm ảnh chụp màn hình

Tất cả các câu trả lời (1)

more options

I don't think there is a way to disable/prevent this.

Try to ask at the devtools forum on Mozilla Discourse.