Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

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

  • 1 réponse
  • 1 a ce problème
  • 12 vues
  • Dernière réponse par 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?'''
Captures d’écran jointes

Toutes les réponses (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.