uBlock Origin scriptlet to filter unwanted feed-units on FB by their category.
- Install the uBlock Origin browser extension to use this scriptlet.
- In Settings/Advanced, tick the checkbox "I am an advanced user", click the "gears", that appears.
- Add the link to the raw source of the scriptlet to the field: "userResourcesLocation", click "Apply changes".
- On the "My filters" tab, add the below two filters, click "Apply changes".
facebook.com##+js(facebook-feeds-filter)
facebook.com##div[role="complementary"] div>span:has(h3[dir="auto"] span:has-text(Sponsored))
You may want to filter not just the sponsored feed-units, but others like, engagement, etc. Use the |
to delimit the categories.
Set the following to filter sponsored and suggested feed-units.
facebook.com##+js(facebook-feeds-filter,engagement)
Or set it, to filter sponsored, suggested and friend-recommendation feed-units.
facebook.com##+js(facebook-feeds-filter,engagement|promotion)