Last active
August 18, 2020 18:32
-
-
Save B0yma/e4f2d7ba127048906ba4796b1fcffb2a to your computer and use it in GitHub Desktop.
YasivAddUserList
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 items = [ | |
'567', | |
'2346' | |
]; | |
var i = 0; | |
function myLoop() { | |
setTimeout(function() { | |
document.getElementById('pageAddress').value = items[i]; | |
document.getElementById('add').click(); | |
i++; | |
if (i < items.length) { | |
myLoop(); | |
} | |
}, 3000) | |
} | |
myLoop(); | |
----------- | |
document.getElementsByClassName("author").forEach(function(item, i, arr) { | |
console.log(item.getAttribute("href")) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment