Get all a href link in website in javascript
1. Open console
- Open Javascript console
2. Use code bellow to get the full URI from the href property of a link.
var links = document.links;
for (var i = 0, linksLength = links.length; i < linksLength; i++){
console.log(links[i].hostname+links[i].pathname)
}
- Save console log and get the link you want.