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

avaScript 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?

That would be a new feature request, which I filed here https://bugzilla.mozilla.org/show_bug.cgi?id=1650850. I can see the use case, as the source references are only useful for some cases.

Since your script name is always the same:

Can your text editor find and replace regular expressions? For example:

script\.js\:\d+\:\d+

=>

(nothing)