Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save PeteDevoy/8c1315f02d39190496eb38a8ae4784d1 to your computer and use it in GitHub Desktop.

Select an option

Save PeteDevoy/8c1315f02d39190496eb38a8ae4784d1 to your computer and use it in GitHub Desktop.

Revisions

  1. PeteDevoy created this gist Oct 6, 2020.
    1 change: 1 addition & 0 deletions make-the-text-for-all-links-the-url-of-the-link.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    (Array.from(document.getElementsByTagName('a'))).forEach((anchor) => {anchor.innerHTML = anchor.href;});