Skip to content

Instantly share code, notes, and snippets.

@matheusmurta
Created July 2, 2020 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matheusmurta/ed190972b1a9b60aadc00e82cbc455c7 to your computer and use it in GitHub Desktop.
Save matheusmurta/ed190972b1a9b60aadc00e82cbc455c7 to your computer and use it in GitHub Desktop.
Get all href of specif div
Array.prototype.map.call(document.querySelectorAll("body > div.container-fluid.falco-custom-fluid-container > div > div > div > div:nth-child(1) > a"), function (e) {
return e.getAttribute('href');
});
Array.prototype.map.call(document.querySelectorAll(".myselectorAreaofLinks"), function (e) {
return e.getAttribute('href');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment