Created
August 23, 2019 11:40
-
-
Save mrkacan/bd069320b7c29b808349a84761d2a5e7 to your computer and use it in GitHub Desktop.
Twitter bulk tweet deleter
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
let interval = null | |
let ntt = function () { | |
interval = setInterval(function () { | |
document.querySelector('[data-testid=caret]').click() | |
setTimeout(function () { | |
document.querySelector('[role=button]').click() | |
document.querySelector('[data-testid=confirmationSheetConfirm]').click() | |
}, 200) | |
}, 1000) | |
} | |
let scrollInterval = null | |
let count = 10000 | |
let scrollToEnd = function () { | |
scrollInterval = setInterval(function () { | |
count += 1000 | |
window.scrollTo(0, count); | |
}, 15000) | |
} | |
ntt() | |
scrollToEnd() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment