Created
February 16, 2026 07:18
-
-
Save scarlac/d58a5966c97dfa743b0a7bbae7d84445 to your computer and use it in GitHub Desktop.
UserScript to remove Facebook Reels from your feed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name No FB shorts | |
| // @match https://www.facebook.com/* | |
| // ==/UserScript== | |
| setInterval(() => { | |
| Array.from(document.querySelectorAll('span')).filter(e => e.innerText === 'Reels').forEach(el => el.closest('[data-pagelet^="FeedUnit_"]')?.remove()); | |
| }, 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment