Skip to content

Instantly share code, notes, and snippets.

@ReeganExE
Created February 15, 2019 12:21
Show Gist options
  • Select an option

  • Save ReeganExE/c0ea883ce24a11b6fa2dd327757e1748 to your computer and use it in GitHub Desktop.

Select an option

Save ReeganExE/c0ea883ce24a11b6fa2dd327757e1748 to your computer and use it in GitHub Desktop.

Revisions

  1. ReeganExE created this gist Feb 15, 2019.
    3 changes: 3 additions & 0 deletions dump-links.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    // Get and print all unique links that start with http://ul.to
    // Inspect a container element (which contains you links) then execute this script on the Console
    document.write([...new Set(Array.from($0.querySelectorAll('a[href^="http://ul.to"]'), a => a.href))].join('<br>'))