DEV Community

Jacob Paris
Jacob Paris

Posted on

A Twitter Bot for Passive ❤️s

Paste this into your browser console (or make a plugin with Scriptish) and posts will ❤️ themselves automatically as you scroll

setInterval(() => {
  const heart = document.querySelector(`[data-testid="like"]`);
}, 1408);
Enter fullscreen mode Exit fullscreen mode

Or paste this into the address bar

javascript:setInterval((heart=document.querySelector(`[data-testid="like"]`)) => {heart &&;}, 1500);
Enter fullscreen mode Exit fullscreen mode

disclaimer: Automated likes are against Twitter ToS

second disclaimer: don't go to anyone's profile or you'll look like a stalker

Top comments (0)