Add event listner to all links and create a function on all links
Dynamically get text based on click and url

text from JS click: