Skip to content

Instantly share code, notes, and snippets.

@websmyth
websmyth / unlike.js
Last active Dec 7, 2021
Unlike everything on Twitter (a tweak of Jamie Mason’s excellent unfollow.js – https://gist.github.com/JamieMason/7580315)
View unlike.js
(() => {
const $followButtons = '[data-testid$="unlike"]';
const retry = {
count: 0,
limit: 5,
};
const scrollToTheBottom = () => window.scrollTo(0, document.body.scrollHeight);
const retryLimitReached = () => retry.count === retry.limit;
View keybase.md

Keybase proof

I hereby claim:

  • I am websmyth on github.
  • I am davesmyth (https://keybase.io/davesmyth) on keybase.
  • I have a public key ASDrwx-OAfOHCD8BYMN0JUKobjYTLLt_GKRdlS8WSjvnlgo

To claim this, I am signing this object: