Created
June 3, 2020 07:20
-
-
Save sergioska/fb26fcdb8c128fa1213a832cfa669ae7 to your computer and use it in GitHub Desktop.
Tamper Monkey Script
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
window.onload = () => { | |
'use strict'; | |
var times = 0; | |
var output = ''; | |
var interval = setInterval(() => { | |
times += 1; | |
if (times === 5) { | |
clearInterval(interval); | |
scrollTo(0, 0); | |
var test = document.querySelectorAll('a[uid]'); | |
for (var i = 0; i < test.length; i++) { | |
if (test[i].innerText !== '') { | |
output = output + test[i].innerText + '\n'; | |
} | |
} | |
console.log(output); | |
return; | |
} | |
scrollBy(0, window.innerHeight+2000); | |
}, 2000); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment