Website search javascript code

after [file:]

there is a link

how can i get the link

I tried a code like this it didn’t work

link variable

CODE

Already asked. Don’t double post.