zbluebugz / facebook-clean-my-feeds

Clean up Facebook feeds by hiding sponsored, suggestions and other posts based on keywords.
GNU General Public License v3.0
118 stars 12 forks source link

stories and reels are back #52

Closed tomerrr closed 10 months ago

tomerrr commented 11 months ago

ver 4.27 Brave Version 1.61.114 Chromium: 120.0.6099.199 i think it started yesterday 4th Jan 24

zbluebugz commented 11 months ago

https://github.com/zbluebugz/facebook-clean-my-feeds/issues/42#issuecomment-1877049514

zbluebugz commented 11 months ago

Which userscript manager are you using?

tomerrr commented 11 months ago

tampermonkey 5.0.1

hexadecagram commented 11 months ago

Stories and reels back for me also, along with suggestions and possibly others. Tampermonkey 5.0.1 also on Chrome 120.0.6099.129 (Official Build) (arm64).

zbluebugz commented 11 months ago

@tomerrr & @hexadecagram

Are you referring to the component that has "Create story" box (sometimes has Stories from people you follow) that appears above the "What's on your mind, _firstname?" component or below that component?

image

hexadecagram commented 11 months ago

@tomerrr & @hexadecagram

Are you referring to the component that has "Create story" box (sometimes has Stories from people you follow) that appears above the "What's on your mind, _firstname?" component or below that component?

Below that component:

Screenshot 2024-01-05 at 7 52 20 PM-chopped-markedup
tomerrr commented 11 months ago

^^ above "What's on your mind". but i also noticed that i don't see any clean my feed post hidden messages anymore in my feed

zbluebugz commented 11 months ago

@tomerrr

When visiting FB, is the FB-CMF button being displayed? (located either bottom-left or top-right of the page) image

If the FB-CMF button is showing, do you have the following settings enabled in the FB-CMF's dialog box:

zbluebugz commented 11 months ago

@hexadecagram

Do you have the option "Reels and short videos" enabled in the FB-CMF dialog box?

image

tomerrr commented 11 months ago

@tomerrr

When visiting FB, is the FB-CMF button being displayed? (located either bottom-left or top-right of the page) image

If the FB-CMF button is showing, do you have the following settings enabled in the FB-CMF's dialog box:

* Verbosity > '1 post hidden. Rule: ____'

* 'Highlight "hidden" posts"
  ![image](https://private-user-images.githubusercontent.com/51784903/294677834-2f56341d-7151-473b-ae04-f955e313c1e9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDQ1NDg0MzUsIm5iZiI6MTcwNDU0ODEzNSwicGF0aCI6Ii81MTc4NDkwMy8yOTQ2Nzc4MzQtMmY1NjM0MWQtNzE1MS00NzNiLWFlMDQtZjk1NWUzMTNjMWU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAxMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMTA2VDEzMzUzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkNTFjZmMyYmI3OWZjZjAzMjVkNDZjZjEwODY2NjU1OTIyMzMyNjFiM2I0M2E1YTU5OGQzNWMxYTE4YmJmM2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0RUtKXPuf_dHtXe2ZbRENdGSiAYvXxaOiBh66qC5o2w)

yes to both questions. it was working perfectly before (last week) sponsored post are being blocked, and if I click on Feeds, i can see Reel/short video blocked - "1 post hidden. Rule: Reel/short video"

hexadecagram commented 11 months ago

@hexadecagram

Do you have the option "Reels and short videos" enabled in the FB-CMF dialog box?

Of course. I have several other options checked. In my case, it seems the script is being completely bypassed.

tomerrr commented 10 months ago

@zbluebugz i just noticed that under Firefox everything works normally (for me)

zbluebugz commented 10 months ago

Not too sure if these issues are related to a recent Chrome/Chromium browser update that might be causing issues with Tampermonkey.

In the Chromium browser(s) you're using, 1) Enable "Developer mode" option via chrome://extensions/ 2) Restart the browser 3) Check "Developer mode" is still enabled 4) Visit FB ...

tomerrr commented 10 months ago

^^ developer mode was already enabled for me

hexadecagram commented 10 months ago

Not too sure if these issues are related to a recent Chrome/Chromium browser update that might be causing issues with Tampermonkey.

I did as was prescribed with no luck. Still seeing reels and short videos, suggestions, etc. (Developer Mode was disabled, which is strange because I seem to remember having it enabled. I reenabled it and restarted.)

zbluebugz commented 10 months ago

Thanks for the feedback. I will need more time to figure out why the script is not flagging the posts.

Can you provide the following details (makes it easier for me to find all the relevant details in one comment):

In the meantime, could you please check if the userscript works for you in Firefox? If it does, you might consider using Firefox when visiting Facebook for the time being.

tomerrr commented 10 months ago

domain: https://facebook.com browser: Brave Version 1.61.114 Chromium: 120.0.6099.199 (Official Build) (64-bit) o/s: Fedora 38 (Gnome) language in FB: English country: israel userscript manager: Tampermonkey 5.0.1 Clean my feeds ver: 4.27 Which feed: all feeds - i don't see any flagged post . highlight "hidden" posts is enabled - when i use "Feeds" on the left menu, i sometimes see some posts being flagged. but not on the main fb page what's not working? i see reels, stories, short videos etc in my main feed. i don't see sponsored posts though.

on Firefox 123.0a1 under Windows, script seems to work fine

hexadecagram commented 10 months ago

@tomerrr You may want to double-check the domain in your browser. Maybe run Inspector to make sure. On Chrome, I get redirected to www.facebook.com.

hexadecagram commented 10 months ago

I enabled Tampermonkey's "Debug scripts" setting and stepped through the Inspector while watching the Console. When the page is first loaded, I see this log messsage, which is evidence that the script is at least loading and initializing in my case:

SCRIPT RUN TIME[FB - Clean my feeds]: 5783.235107421875 ms

Then, as I scroll down the page, these logs repeat every time the browser fetches the next batch of content:

Uncaught TypeError: Cannot read properties of null (reading 'querySelector') at nf_scrubTheSurvey (userscript.html?name=FB-Clean-my-feeds.user.js&id=[REDACTED]) at nf_scrubTheTabbiesAndOrSurvey (userscript.html?name=FB-Clean-my-feeds.user.js&id=[REDACTED]) at mopUpTheNewsFeed (userscript.html?name=FB-Clean-my-feeds.user.js&id=[REDACTED]) at MutationObserver.bodyMutating (userscript.html?name=FB-Clean-my-feeds.user.js&id=[REDACTED])

Each of those logs is accompanied by this log:

Using workaround to get event.path

zbluebugz commented 10 months ago

@hexadecagram

Uncaught TypeError: Cannot read properties of null (reading 'querySelector') at nf_scrubTheSurvey (userscript.html?name=FB-Clean-my-feeds.user.js&id=[REDACTED])

Thanks for running the debugging - this information is very useful. I can reproduced this issue and will implement a fix for the next release.

In the meantime, disable the option "Survey" in the FB-CMF dialog-box. image

zbluebugz commented 10 months ago

@tomerrr

image

tomerrr commented 10 months ago

i can confirm once i disabled "survey", reels/videos etc are gone! apparently, on the PC running Firefox, that option wasn't ticked to begin with so the issue didn't occur there. another weirdness, i don't get "x post hidden" messages anymore - only if i tick "highlight hidden posts"

Rusenche commented 10 months ago

zbluebugz commented 14 hours ago

image

@zbluebugz

Sorry to go a bit off topic here, but I saw this picture and have a question: What is the difference between:

294791973-bb58b894-94a1-4b31-acf8-2745816fee9d

The first is for several such "objects"?! And the second is for only one such "object"?!

Shouldn't there be only one such option available to "hide" any such "objects" to hide? :}

zbluebugz commented 10 months ago

@tomerrr

Thanks for the feedback re "Survey" bug.

another weirdness, i don't get "x post hidden" messages anymore - only if i tick "highlight hidden posts"

Can you screen-shot the following from the FB-CMF's dialog-box, please. 1) "News feed" section 2) "Verbosity" section

Do you have any other addons/extensions/userscripts that runs when you visit FB?

zbluebugz commented 10 months ago

Sorry to go a bit off topic here, but I saw this picture and have a question: What is the difference between:

* Reels and short videos;

* Reel/short videos.

"Reels and short videos" - a generic post with a collection of Reels / short videos, an option to Create a reel/video and See more. Not posted by anyone you follow or groups you've joined.

"Reel/short video" - a post with a single Reel / short video posted by someone you follow or a group you've joined or a recommended/suggested page/group/etc.

I did have the single option of hiding all posts having 1+ reel, however, I was missing posts from people I followed. Hence the split into two options.

tomerrr commented 10 months ago

Screenshot from 2024-01-08 21-22-01 Screenshot from 2024-01-08 21-21-24 i have several extensions - don't think they have anything to do with these issues as i've been using them since day 1 with Brave - Go back with backspace Chromium wheel smooth scroller Adnausean which is disabled in FB

zbluebugz commented 10 months ago

@tomerrr

tomerrr commented 10 months ago

yes! i now see the x post hidden messages. thanks

zbluebugz commented 10 months ago

@tomerrr

hexadecagram commented 10 months ago

@hexadecagram

In the meantime, disable the option "Survey" in the FB-CMF dialog-box.

Disabling the "Survey" option causes the script to start working again. I now see hidden posts: reels and short videos, suggestions, follow, sponsored, etc., once again. Facebook is useable again!

zbluebugz commented 10 months ago

Thanks for you help guys - muchly appreciated.

Next release will have a fix for the Survey detection component.