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
// Unblock everyone on Twitter: Go to https://twitter.com/settings/blocked and paste the below in DevTools | |
// Yes this is super ugly and hacky don’t @ me | |
function click_all_unblock_buttons() { document.querySelectorAll('button.blocked-text').forEach(btn => btn.click()); } | |
function unblock(min_num_accounts) { | |
var checkNumber, autoScroll, curScrollPos, prevScrollPos, checkScroll, done; | |
done = false; | |
curScrollPos = prevScrollPos = window.scrollY; | |
checkScroll = setInterval(() => { |