← All posts

Guides

Declutter social media feeds: a complete guide

Social feeds are engineered to keep you scrolling: sponsored posts, "suggested for you" cards, trending sidebars, and infinite recommendations. This guide is a complete toolkit for stripping all of it back to the posts you actually chose to follow.

Why declutter a feed at all

A clean feed is calmer and faster. Every sponsored card and suggestion is a content slot competing for your attention, and removing them turns an algorithmic firehose back into a simple chronological-ish list of people and pages you picked. With JustZix you do this with CSS and JS rules scoped to each social site — no separate app, no account, no data leaving your browser.

Recipe 1: Remove sponsored posts

Sponsored posts are deliberately hard to target — sites rotate class names to dodge blockers. The most reliable signal is the visible label text. This JS rule reads each post and removes any that announce themselves as sponsored.

// Remove posts labelled "Sponsored" / "Suggested"
const LABELS = ['sponsored', 'suggested for you', 'promoted'];

function cleanFeed() {
  document.querySelectorAll('article, [role="article"], [data-post]')
    .forEach(post => {
      const text = post.innerText.toLowerCase().slice(0, 120);
      if (LABELS.some(l => text.includes(l))) {
        post.remove();
      }
    });
}

cleanFeed();
new MutationObserver(cleanFeed)
  .observe(document.body, { childList: true, subtree: true });

Reading only the first 120 characters keeps it fast and avoids deleting a real post that merely mentions the word "sponsored" further down.

Recipe 2: Hide the trending and suggestions sidebars

The right-hand rail is almost always pure noise — trending topics, "who to follow", ads. Pure CSS removes it.

/* Hide noisy feed sidebars */
[data-testid="sidebarColumn"],
[aria-label*="Trending" i],
[aria-label*="Who to follow" i],
.feed-sidebar, aside[class*="suggestions"] {
  display: none !important;
}

Recipe 3: Center the feed once the sidebar is gone

Removing the rail can leave the feed stranded to one side. Re-center it for a balanced layout.

/* Re-center the main feed column */
main, [role="main"], .feed-container {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 640px !important;
}

Recipe 4: Kill "suggested" and "for you" injected cards

Beyond ads, feeds inject recommendation cards: groups to join, reels to watch, people to add. Target their wrapper labels.

/* Remove recommendation cards */
[class*="recommendation"], [class*="suggested-card"],
[class*="discover"], [aria-label*="Suggested" i],
[data-pagelet*="Reels"], [data-pagelet*="Stories"] {
  display: none !important;
}

Recipe 5: Calm the feed visually

Once the noise is gone, a few cosmetic tweaks make scrolling restful: dim engagement counts so you stop comparing numbers, and soften loud verified badges.

/* Quiet the feed */
[class*="like-count"], [class*="engagement"],
[data-testid="like-count"] {
  opacity: 0.35 !important;
}

[aria-label*="Verified" i] {
  filter: grayscale(1) !important;
}

Putting it together per platform

Selectors differ across platforms, so build one rule set per site and scope it tightly:

Keep your rules portable

Feeds change their markup often, so expect to retune a selector now and then. JustZix lets you export your whole rule set as a file, which makes it easy to back up your hard-won configuration and restore it after a site redesign breaks something.

A quieter timeline starts now

Install from the download JustZix page and check the ready-made examples for platform-specific starting points. The same techniques clear display ads everywhere else — see our guide at /en/blog/block-display-ads-with-css-rules — and if popups still interrupt you, fix those with /en/blog/kill-newsletter-and-signup-popups. A feed of only the things you chose is just a few rules away.

Rate this post

No ratings yet — be the first.

Try it yourself

Install JustZix and paste any snippet from this article. Two minutes from zero to a working rule across all your devices.

Get JustZix

Features · How it works · Examples · Use cases