FB - Clean my feeds

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

< Feedback on FB - Clean my feeds

Review: OK - script works, but has bugs

§
Posted: 2023-03-19

A few days after 4.16 was deployed started getting more and more sponsored posts in feed. The other variations of posts appear to be filtered as intended but not sponsored posts. It appears FB is displaying the "Sponsored" text as SVG inside a closed shadow-root. Could not copy the relevant section from the DOM inspector but an image of that section is attached.

zbluebugzAuthor
§
Posted: 2023-03-20

Thanks for the feedback.

I've seen that technique before and had code dive into the svg's shadow-root to find out if the post a sponsored one or not.

However, v4.16 is using a different method to find Sponsored posts. I think certain script-managers might have a problem with that piece of code (not 100% sure).

Does this bug affect the news feed only?

Which browser and script-manager are you using?

§
Posted: 2023-03-20

I have only seen this in news feed, at least that's the only place I have seen ads appear.

Currently using Firefox (111.0) with Greasemonkey.

I can try another script manager if you think that might make a difference.

zbluebugzAuthor
§
Posted: 2023-03-20

Thanks for the update.

Script doesn't work in GM due to a bug in GM. Works in TM.

Currently testing a new version in GM and seems to be working Ok. If testing goes well today, will release an update in the next day or two.

§
Posted: 2023-03-20

Not that you need confirmation this, but ...

I replaced Greasemonkey with Tampermonkey on one machine. Script appears to work as intended - no ads visible.

zbluebugzAuthor
§
Posted: 2023-03-23

Version 4.17 has been released. Now works in GreaseMonkey.

Post reply

Sign in to post a reply.