Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/webdevsk/fb-mobile-clean-my-feeds

A browser script that removes unwanted posts from Facebook Mobile
https://github.com/webdevsk/fb-mobile-clean-my-feeds

adblock greasemonkey-script greasyfork javascript kiwibrowser tampermonkey tempermonkey-script userscript vanilla-javascript violentmonkey violentmonkey-script violentmonkey-userscripts

Last synced: 4 days ago
JSON representation

A browser script that removes unwanted posts from Facebook Mobile

Awesome Lists containing this project

README

        




sweeper logo

FB Mobile - Clean my feeds (UserScript)

[Greasy Fork](https://greasyfork.org/en/scripts/479868-fb-mobile-clean-my-feeds)


Hides Suggested and Unwanted posts from **Facebook Mobile** feed. Get a clean Newsfeeds with posts only from your friends, pages and groups you follow.

**⚠️ Works on Android Only**

Table of contents

- [Removes](#removes)
- [Languages Supported](#languages-supported)
- [How to use](#how-to-use)
- [Want to use it like an App?](#want-to-use-it-like-an-app)
- [Known issues (Must Read)](#known-issues-must-read)
- [How it works](#how-it-works)

### Removes

- Suggested for you
- Sponsored
- Unlabeled posts containing "Follow" button
- Unlabeled posts containing "Join" button

Facebook has an enhanced Mobile version of facebook which only works on Chromium browsers. The browsing experience is not as good as the App you are used to. It shows low quality photos and videos. But this is all we got that we can inject a script into.

**ℹ️ So keep the original App installed and use it only for leisure browsing.**

### Languages Supported

- English
- বাংলা

**⚠️ Still unstable. Works best on English**

_You can contribute by adding more languages_

### How to use

1. Find an `Android` phone somewhere.
1. Install [Kiwi Browser](https://play.google.com/store/apps/details?id=com.kiwibrowser.browser) from PlayStore.
- Facebook enhanced version won't load on Firefox based browsers.
- Use any Chromium based browser that supports extensions.
1. Launch `Kiwi Browser` then Install the [Violentmonkey](https://chrome.google.com/webstore/detail/violent-monkey/jinjaccalgkegednnccohejagnlnfdag) extension from Chrome Web Store.
- You can try other similiar extensions but I haven't tried them myself.
1. **(Optional)** Install [uBlock Origin](https://chromewebstore.google.com/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm) extension.
- Not required for this script but will improve your overall browsing experience by a mile.
1. Head over to this link and Press `Install` and Confirm installation: https://greasyfork.org/en/scripts/479868-fb-mobile-clean-my-feeds
1. Browse https://m.facebook.com/ without all the trash.

#### Want to use it like an App?

1. Open https://m.facebook.com/
1. Press the Kiwi Browser `3 dot menu`
1. Press `Add to Homescreen`
1. Set your preferred Label and press `Add`
1. Find it in your Android Home screen

### Known issues (Must Read)

- **Jitters when scrolling**
- You actually scroll faster than you think. So new posts get added pretty frequently. While the execution of the script isn't slow, shrinking of unwanted posts causes constant Page height shifts. You can find learn more about it inside the script.
- **Blank Posts when coming back to NewsFeed**
- **Firefox based browsers not supported**
- The enhanced version of `m.facebook` only loads on Chromium browsers. Nothing I can do about it for now.
- **Api rate limit** **⚠️Please scroll slowly**
- After a while they keep pushing hundreds of Suggested posts in a row. As you keep scrolling faster than usual, it is possible to hit Api rate limit.
`Or in general term: they put a timer between each post requests and you asked for posts before the timer ended`
- **Doesn't work when coming back after a break**
- Instead of doing the "Pull down to refresh", press the 3 dot menu and press Refresh there.

### How it works

```mermaid
graph TD;
A[DOM Loads]-->B[Waits for new posts using Mutation Observer];
B-->C[Searches through new posts]
C-->|Regular Posts| D[Shown]
C-->|Unwanted Posts| E[Hidden]
```


⭐ If you like this project a Star would be nice.

⭐ You can request for new filters or submit issues here: [Github/issues](https://github.com/webdevsk/FB-Mobile-Clean-my-feeds/issues)

⭐ Want to contribute? Fork this repo and create a pull request here:
[Github/pulls](https://github.com/webdevsk/FB-Mobile-Clean-my-feeds/pulls)

_For PC browsers, use this instead: https://github.com/zbluebugz/facebook-clean-my-feeds_