burn / Facebook Hide Ads (a.k.a. sponsored posts)


Version: 0.5.1+29f57d1 updated

Summary: Removes ads (a.k.a. sponsored posts) from feed and sidebar


Copyright: 2020, burn (https://openuserjs.org/users/burn)

License: MIT

Facebook Hide Ads - supports 2020 design

This userscript removes ads ("sponsored posts") from feed or, when using "old" Facebook design, from right sidebar.

Mutation Observer to the rescue!

This userscript runs every time the Facebook DOM changes, eventually removing any ad found. No more need for setTimeout() nor setInterval().

How to use

Install the script; open or refresh Facebook.

Known issues

None yet.

Feedback appreciated

Negative rating is useless so please use the Issues section

Rating: -1

1 Votes