Answers for "javascript click on all links"

0

javascript click on all links

var myLinks = document.getElementsByTagName("a");
for (var i = 0; i < myLinks.length; i++) {
  myLinks[i].click();
}
Posted by: Guest on July-15-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language