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

liquorburn
2020-05-29T06:27:50Z

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

This userscript is no longer maintained.

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; done.

Known issues

None yet.

Feedback appreciated!

Negative rating is useless so please open an issue instead!