Devtools Get URLs

var urls = document.getElementsByTagName("a");
for (url in urls) {
  console.log(urls[url].href);
}