๐Ÿ“ฆ da-x / anti-for-you

Chrome extension that removes "For You" feeds from social media

โ˜… 2 stars โ‘‚ 0 forks ๐Ÿ‘ 2 watching โš–๏ธ MIT License
๐Ÿ“ฅ Clone https://github.com/da-x/anti-for-you.git
HTTPS git clone https://github.com/da-x/anti-for-you.git
SSH git clone git@github.com:da-x/anti-for-you.git
CLI gh repo clone da-x/anti-for-you
Dan Aloni Dan Aloni Add logo f0faad8 7 days ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“„ .gitignore
๐Ÿ“„ content.js
๐Ÿ“„ LICENSE
๐Ÿ“„ logo-initial.svg
๐Ÿ“„ manifest.json
๐Ÿ“„ options.html
๐Ÿ“„ options.js
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Anti For You

A Chrome extension that removes algorithmically-driven "For You" sections and distracting navigation elements from popular websites.

Why This Extension Exists

Social media platforms are designed as dopamine hijackers. They use sophisticated algorithms to keep users scrolling endlessly through content specifically curated to trigger dopamine releases, creating addictive behaviors that can negatively impact mental health, productivity, and overall wellbeing.

The Problem

  • Algorithmic feeds are designed to maximize engagement, not user wellbeing
  • "For You" sections create infinite scroll patterns that exploit psychological vulnerabilities
  • Recommendation engines prioritize sensational, divisive, or addictive content over meaningful material
  • Dopamine loops created by these platforms can lead to decreased attention spans and increased anxiety

The Solution

This extension helps users reclaim control over their digital consumption by removing the most problematic elements that fuel compulsive browsing behaviors. By eliminating algorithmic feeds and distracting navigation elements, users can engage with social media more intentionally and mindfully.

Features

YouTube

  • Hide Home button - Removes the "Home" button from the sidebar to avoid the algorithmic homepage feed
  • Hide Shorts button - Removes the "Shorts" button from the sidebar to avoid short-form video recommendations

X (Twitter)

  • Hide "For you" tab - Removes the algorithmic "For you" timeline tab
  • Hide "What's happening" section - Removes the trending topics sidebar section
  • Hide "Today's News" section - Removes the news highlights from the sidebar
All options are configurable through the extension settings.

Installation

  • Clone or download this repository
  • Open Chrome and navigate to chrome://extensions/
  • Enable Developer mode (toggle in the top right corner)
  • Click Load unpacked
  • Select the anti-for-you folder

Usage

Once installed, the extension automatically hides the configured elements on supported websites.

Configuring Options

  • Click the extension icon in Chrome's toolbar, or
  • Right-click the extension icon and select Options, or
  • Go to chrome://extensions/, find "Anti For You", and click Details โ†’ Extension options
Toggle the checkboxes to enable/disable hiding specific elements. Changes are saved automatically and apply immediately.

Supported Sites

SiteElements Hidden
YouTubeHome button, Shorts button
X (Twitter)"For you" tab, "What's happening" section, "Today's News" section

How It Works

The extension uses content scripts that run on supported websites. It:

  • Waits for the page to load (with delays to handle dynamic content)
  • Finds and removes the configured navigation elements
  • Uses a MutationObserver to handle dynamically loaded content (for SPAs like YouTube and X)

Privacy

This extension:

  • Does not collect any user data
  • Does not make any network requests
  • Only uses Chrome's storage API to save your preferences locally
  • Settings sync across your Chrome browsers if you're signed in

License

MIT