Conversation

You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
that's a bit weird. try refreshing the page and then pasting functions separately (say, from Justin's gist) 1. refresh the page -> open console 2. paste "sleep" -> press "enter" 3. paste "deleteLikedVideos" -> press "enter" 4. type deleteLikedVideos() -> press "enter"
2
2
ah this is probably relevant: whenever i open the console on that page now it spews out a ton of errors related to the other scripts i tried to run already, and idk how to stop those scripts 😅 closest button i can find pauses everything but doesn't kill?
Image
1
1
nah, man) it doesn't work this way)) those errors are probably because you have some extension turned on - say, adblock or autoplay every time you refresh a page and open a console - it's a fresh start, a new workspace, a "clean table"
2
1
the initial error, "deleteLikedVideos is not defined" was caused because the function wasn't, for some reason, in the scope of the opened console - not on the table i suggested refreshing page and redefining functions one by one so that it's guaranteed to have it in the scope
1
1
i mean, some scripts/pages/extensions do store some data and when you reload the page said scripts may use this stored data but they do start anew and they don't [usually] interfere with a devtools' console
1
3
okay i disabled my blockers *and* pasted it in 3 chunks like you suggested earlier and it's working now! thanks for all your help man, really appreciate it, you legitimately saved me some carpal tunnel here (had over 600 likes i wanted to delete) 🙏
1
1
2
qc, bb, it's not over yet) liked videos are loaded in chunks of ~100 videos, so if you want to delete 1000 likes, you'll have to (XOR): - scroll page to trigger the load of 9 more chunks - refresh -> execute 9 more times
1
1