Hello and welcome to my blog! This is my first entry, and I wanted to share with you a small Javascript script that might be of use if you follow too many old accounts on Tumblr.

The script works by checking each entry in your Tumblr blog, and clicking the “Unfollow” button for entries that were last updated 2 to 10 years ago. This can be helpful if you follow a lot of old accounts that are no longer active or no longer post content that interests you. Unfollowing these accounts can help declutter your dashboard and make it easier to find new content that you enjoy.

Here’s a small video demo with the script running

It’s worth noting that Tumblr has a limit of 5000 accounts that you can follow, and a limit of 200 follows or unfollows per day. This can be frustrating if you follow a lot of accounts and want to clean up your dashboard quickly. However, using a script like the one I’ve provided can help you unfollow old accounts more efficiently, without having to spend hours manually clicking the “Unfollow” button.

It’s important to keep in mind that these limits exist to prevent spam and abuse on the platform. While it can be frustrating to have to follow or unfollow accounts slowly, it helps to ensure that Tumblr remains a safe and enjoyable platform for everyone. So while the script can be a useful tool, it’s important to use it responsibly and within the limits set by Tumblr.

To use the script, simply open your browser’s console and paste in the code. The script will then run automatically when you hit enter, clicking the “Unfollow” button for each old entry with a delay of 500ms between each click to avoid overloading Tumblr’s servers. I don’t advice on using a lower value to this limit.

Note that this script only works on Tumblr and should only be used if you are sure that you want to unfollow old accounts. It is always a good idea to review your followed accounts periodically to ensure that you are still interested in their content.

Overall, this script can be a useful tool for decluttering your Tumblr dashboard and streamlining your content consumption. Give it a try and see how it works for you!

The code:

// Find all entries with class "Ut4iZ eXQ6G veU9u"
let entries = document.querySelectorAll(".Ut4iZ.eXQ6G.veU9u");

// Loop through all entries
for (let i = 0; i < entries.length; i++) {
  let entry = entries[i];

  // Find the div element with class "fTJAC" inside this entry
  let updatedText = entry.querySelector(".fTJAC");

  // Check if the updated text contains "Updated x years ago" where x is between 2 and 10
  if (updatedText && updatedText.innerText.match(/Updated ([2-9]|10) years ago/)) {
    // Find the unfollow button inside this entry
    let unfollowButton = entry.querySelector(".EvhBA.f68ED");

    // Click the unfollow button with a delay of 200ms
    if (unfollowButton) {
      setTimeout(() => {
        unfollowButton.click();
      }, 500* i);
    }
  }
}

PS: I forgot to mention. You Tumblr interface / language needs to be in English otherwise innerText.match function will not work. It looks for plain text.

Keep in mind that while the code provided here should work for most Tumblr users, it’s possible that the class names or other elements of the site’s HTML may change over time, which could cause the code to stop working. Additionally, depending on your specific Tumblr setup and configuration, the code may not work for everyone. However, the principles behind the code should still be applicable, and you can use them to create your own custom scripts or modify the existing code to suit your needs.

8 thoughts on “The Ultimate Tumblr Unfollow Hack: A Script for Efficient Dashboard Cleaning”
    1. Actually that’s ok. You just need to be sure you’re using the script with a console open on the following page. https://www.tumblr.com/following

      From my experience the script works better in reverse. Instead using it from page 1, go to the last page in your followers list and then execute it. Hit previous page then run again.
      You should see the script automatically clicking unfollow

      1. Thank you. It’s working.
        Needed to adjust the search pattern.

        You said “last page”.. do you have a hint hot to get to the last page? Currently, I am scrolling down and down and down.. taking ages.. 🙂

        1. Oh in following page you got infinite scroll? In my case the following list it’s split in multiple pages. I am going to upload a short video on YouTube with some explorations for the scripts.

  1. Hello! I’m looking for something similar, but in my followers list (not the following one) for see inactive followers or bot followers. Does it work anyway?

Leave a Reply

Your email address will not be published. Required fields are marked *