insert document links when clicking on them in the browser