Skip to content

Instantly share code, notes, and snippets.

@ah01
Created June 16, 2011 20:59
Show Gist options
  • Save ah01/1030267 to your computer and use it in GitHub Desktop.
Save ah01/1030267 to your computer and use it in GitHub Desktop.
Show all links on page
javascript:var w = window.open("about:blank", "_blank");w.document.writeln("<pre>");for(var i = 0; i < document.links.length; i++) { var h = document.links[i].href; if (h.indexOf(location.host) < 0) w.document.writeln(h);};void(0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment