Greasy Fork is available in English.

FB - Clean my feeds

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

< Părere la script-ul FB - Clean my feeds

Recenzie: OK - script works, but has bugs

§
Postat în: 19-03-2023

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.

zbluebugzAutor
§
Postat în: 20-03-2023

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?

§
Postat în: 20-03-2023

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.

zbluebugzAutor
§
Postat în: 20-03-2023

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.

§
Postat în: 20-03-2023

Not that you need confirmation this, but ...

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

zbluebugzAutor
§
Postat în: 23-03-2023

Version 4.17 has been released. Now works in GreaseMonkey.

Postează un raspuns

Autentifică-te pentru a posta un răspuns.