Created
November 10, 2019 09:09
-
-
Save inhere/d91db6749af0b6acef9ea45ebd9b091d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var alist = document.getElementById('sidebar').getElementsByTagName('a') | |
for (var i=0; i < alist.length; i++) { | |
// console.log(i, alist.item(i).href) | |
fetch(alist.item(i).href) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment