Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

On Monday the 3rd of March, around 5pm UTC (9am PT) users may experience a brief period of downtime while one of our underlying services is under maintenance.

تلاش سپورٹ

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.

مزید سیکھیں

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

  • 1 جواب دیں
  • 1 میں یہ مسئلہ ہے
  • 8 دیکھیں
  • آخری جواب بذریعہ 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?'''
منسلک شدہ اسکرین شاٹٹس

تمام جوابات (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.