JattMannu / react-blog-github

🔥 React + Github Issues 👉 Your Personal Blog
https://saadpasta.github.io/react-blog-github/#/
MIT License
0 stars 0 forks source link

How to print all the Link tags in Google Chrome or FireFox ? #19

Open JattMannu opened 3 years ago

JattMannu commented 3 years ago

Step 1

Press "F12"

Step 2

Click on the console tab image

Step 3

Copy paste the code below and

var arr = [], l = document.links;
for(var i=0; i<l.length; i++) {
  arr.push(l[i].href);
}
console.log(arr);

image