Get the all URL link in a website use Java script

Written on 26 July 2016

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++){  
  1. Save console log and get the link you want.