Based on Matt Jennings Blog
- Open Chrome Developer Tools by pressing Cmd + Opt + i (Mac) or F12 (Windows).
- Click the Console panel near the top of Chrome Developer Tools.
- Inside the Console panel paste the JavaScript below and press Enter:
console.clear()
var urls = document.getElementsByTagName('a');
for (var i = 0; i < urls.length; i++) {
console.log ( urls[i].getAttribute('href') );
}