Greasy Fork is available in English.

FB - Clean my feeds

Hide Sponsored and Suggested posts in FB's News Feed, Groups Feed, Watch Videos Feed and Marketplace Feed

As of 02/05/2022. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v4.30 07/03/2024

    Updated Marketplace feed detection component

  • v4.29 10/02/2024

    - Temporarily fixed issues with FB, Adblockers and FB-CMF clashing with each other
    - Adjusted News Feed's query rules
    - Temporarily disabled News Feed's message/notification tab (will be restored in next version)

  • v4.28 06/02/2024

    - Enabled option to toggle Sponsored post detection rule (for uBO compatibility)
    - Added Video's "Live" detection rule
    - Enabled Reels' video controls
    - Added Ukrainian (Україна)
    - Added Bulgarian (български)
    - Dialog box - reworded "Miscellaneous items" to "Supplementary / information section"
    - Dialog box - added "Reset" button to reset the options
    - Fixed bug with Survey detection component
    - Fixed bug with Importing settings from a file
    - Revised message/notification tab for News feed
    - Revised Create Stories detection rule
    - Add option to filter posts by number of Likes
    - Fixed bug with function scanTreeForText() - failing to detect "Anonymous participant"
    - Updated Groups Feed filter rules - new HTML structure via (Feeds > Groups)
    - Added display of script's version number to dialog box

  • v4.27 09/12/2023

    Added Russian (Русский) - supplied by github user Kenya-West

  • v4.26 26/11/2023

    - Added web.facebook.com to @match conditions
    - Added Survey detection component (Home / News feed)
    - Added Follow detection component (Home / News feed)
    - Added Participate detection component (Home / News feed)
    - Updated Marketplace detection rules

  • v4.25 03/11/2023

    Updated News Feed's Suggested posts filter/rule
    Added News Feed's Stories detection rule
    Fixed bug with Marketplace's price detection code
    Other code tweaks

  • v4.24 01/09/2023

    - Fixed issues with v4.23 (selection/detection rules)
    - Code tweaks

  • v4.23 18/08/2023

    - Fixed bug with showing Marketplace's hidden items
    - Updated Marketplace detection rules
    - Split Marketplace's text filter into two - prices and description
    - Merged "Stories" with "Stories | Reels | Rooms" detection rules.
    - Fixed bug with CMF's hidden dialog box's text being included in CTRL+F search (now excluded)
    - Dropped "Create room" detection component (no longer listed in FB)

  • v4.22 03/07/2023

    - Updated News Feed posts selection rule (FB changed structure)
    - Updated Events you may like detection rule

  • v4.21 15/06/2023

    - Updated news feed detection rules - for older HTML structures
    - Updated watch videos feed detection rules
    - Added Greek (Ελληνικά)
    - Updated various functions

  • v4.20 23/05/2023

    - Added "Feeds (most recent)" to the clean up rules (FB recently introduced the "Feeds (most recent)" feature)
    - Updated Search Feed sponsored posts rule

  • v4.19 12/05/2023

    - Updated News Feed posts selection rule (FB changed structure)

  • v4.18 05/05/2023

    - Updated News Feed sponsored posts rule
    - Added News Feed sponsored video posts rule
    - Updated News Feed suggested posts rule

  • v4.17 23/03/2023

    - Fixed issue with GreaseMonkey & FireMonkey not able to run userscript
    - Updated News Feed sponsored posts rule
    - Updated Videos Feed sponsored posts rule
    - Added option to hide "# shares" on posts (news + groups)

  • v4.16 20/02/2023

    Fixed issue with setting breaking FB
    Code tweaks

  • v4.15 17/02/2023

    Updated News Feed sponsored posts rule (FB changed structure)
    Updated Marketplace Feed > Item page posts rules
    Code tweaks

  • v4.14 19/01/2023

    Updated News Feed Suggestion/Recommendation post rule (FB changed structure).
    Updated News Feed Verbosity behaviour. FB limiting 40 posts in News Feed.
    Groups Feed - add icon to open post in new window (fixes FB bug with comments).

  • v4.13 11/12/2022

    - Updated News Feed Suggestion/Recommendation posts rule (FB changed structure)
    - Updated Groups Feed Suggestion/Recommendation posts rule (FB changed structure)
    - Updated News Feed blocked text filter (excluding comments)
    - Updated Groups Feed blocked text filter (excluding comments)
    - Code tweaks

  • v4.12 07/12/2022

    Added @noframes directive
    Added Marketplace text filter
    Added option to share text filter between feeds
    Added post's image's ALT text in text-filtering
    Fixed bug with certain sections not hidden when was been enabled.
    Code tweaks

  • v4.11 12/11/2022

    Updated News Feed suggested/recommended rule

  • v4.10 01/11/2022

    Updated selection rule for News Feed posts
    Code tweaks

  • v4.09 23/10/2022

    v4.08 had a bug with the fix for News Feed sponsored posts. Fix now working in v.09.

  • v4.08 23/10/2022

    Updated News Feed sponsored posts rule
    Updateds News Feed suggestion posts rule
    Code tweaks

  • v4.07 22/10/2022

    Updated News Feed selection rule
    Reduced false-positive hits for News Feed sponsored rule
    Updated Friends you may know rule

  • v4.06 21/10/2022

    Updated News Feed rules
    Updated News Feed side column's Suggested rules

  • v4.05 20/10/2022

    - Updated Sponsored rule
    - Updated News Feed suggestion/recommended rule
    - Added Events you may like rule (News feed)
    - Updated Chinese (traditional) text
    - Revised Group suggestion/recommendation rule
    - Revised information boxes rule
    - Revised hidden post info/note
    - Added Menu item "Settings" to the User Script Commands menu
    - Added option to hide Stories (top of feed)
    - Added option to hide Create Room (top of feed)
    - Some code revisions/tweaks

  • v4.04 02/10/2022

    Previous changes did not go through

  • v4.03 02/10/2022

    Updated news feed selection code

  • v4.02 27/09/2022
  • v4.01 27/09/2022

    Major rewrite - less dependent on language text for matching component/posts
    Various Suggestions/Recommendations combined into one option
    Added 簡體中文 (Chinese Simplified)
    Added 中國傳統的 (Chinese Traditional)
    Added 日本 (Japan)
    Added Sumoi (Finland)
    Added Türkçe (Turkey)

  • v3.28 23/09/2022

    Code tweaks

  • v3.27 22/09/2022

    Updated detection code for Sponsored posts
    Minor code tweaks

  • v3.26 07/08/2022

    Added the following languages:
    - العربية (Arabic)
    - Bahasa Indonesia (Indonesia)
    - Português (Brazil) - merged with Português (Portugal)

    Code tweaks

  • v3.25 23/07/2022

    Updated detection code for: Sponsored posts in News Feed
    Added עִברִית (Hebrew)
    Added code to pause some animating GIFs in posts/comments
    Added detection code for "Stories | Reels | Rooms" tabs list box
    Code tweaks

  • v3.24 16/07/2022

    Updated detection code for: Sponsored posts in News Feed

  • v3.23 15/07/2022

    Updated detection code for: Sponsored posts in News Feed

  • v3.22 01/07/2022

    Updated detection code for: Sponsored posts in Marketplace Feed

  • v3.21 01/07/2022

    Updated detection code for: Sponsored posts in News Feed

  • v3.20 26/06/2022

    Updated detection code for: Sponsored posts in News Feed (FB changed it)
    Updated detection code for: Sponsored posts in Marketplace posts (via Groups Feed)
    Updated languages
    Added option to hide Meta Privacy Policy and Terms of Service message (top of News Feed)

  • v3.19 07/06/2022

    Added Latviešu
    Added Polksi
    Added Nederlands
    Code tweaks

  • v3.18 27/05/2022

    Bug fix for Sponsored post detection
    Added Italino language
    Additional items to hide
    Minor code & UI tweaks

  • v3.18c 27/05/2022

    Bug fix for Sponsored post detection
    Added Italino language
    Additional items to hide
    Minor code & UI tweaks

  • v3.17 23/05/2022

    Updated detection code for Sponsored posts in News/Groups/Videos/Marketplace feeds.
    Updated detection code for Stories, Create Room, Sponsored box in third column.
    Added "LIVE" filter for Videos feed.
    Added dark/light theme.
    Added Vietnamese lanugage.
    Other cosmetic changes.

  • v3.16 03/05/2022

    Added "Sponsored · Paid for ___" detection code

  • v3.15 02/05/2022

    Updated sponsored word detection code.

  • v3.14 02/05/2022

    Updated sponsored word detection code.

  • v3.13 18/04/2022

    Updated "sponsored" detection code (FB changed it in April 2022).
    Added "Reels and short videos" to News Feed block list.
    Tweaked some minor bits.

  • v3.12 20/01/2022
  • v3.11 23/11/2021

    Code rewritten.
    Timings changed to use MutationsObserver.
    Added detection for Groups, Videos, Marketplace Feeds.
    Added Videos Feed partial keywords filter.
    Added German and French.

  • v3.10 10/10/2021

    Code tweaked.

Show all script versions