Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested for You #62

Open
Leibeun opened this issue Apr 28, 2020 · 18 comments
Open

Suggested for You #62

Leibeun opened this issue Apr 28, 2020 · 18 comments

Comments

@Leibeun
Copy link

Leibeun commented Apr 28, 2020

The extension successfully removes ads and sponsored posts, however the "Suggested for You" posts remain.

@cbotsikas
Copy link
Collaborator

The "Suggested for you" posts are not considered to be ads, thus the extension doesn't remove them. Here's the explanation by the owner.

Maybe there could be a simple settings menu to allow blocking those posts too.

@ajsnyde
Copy link

ajsnyde commented Apr 29, 2020

"Suggested for you", while automatically curated and not technically paid-for, are an unwelcome and non-disableable content. Similar to the youtube end-of-video pop-ups suggesting other videos (gotta keep that dopamine cycle up), nobody really asked for them and they block the real reason you use the service.

Argument aside, does anyone know of a branch or fork with the ability to block them?

@cbotsikas
Copy link
Collaborator

I still have my initial commit which was blocking the "suggested for you" posts on the classic facebook design. The branch is outdated and breaking facebook's feed. It was written before the launch of new FB5 design.

If @tiratatp would agree on that, I could try creating a simple options menu to enable/disable the "suggested for you" posts. If so, please reopen this issue to keep track of the status. There's no rush or time schedule for that so don't expect it within a few days.

@tiratatp
Copy link
Collaborator

"Suggested for you", while automatically curated and not technically paid-for, are an unwelcome and non-disableable content. Similar to the youtube end-of-video pop-ups suggesting other videos (gotta keep that dopamine cycle up), nobody really asked for them and they block the real reason you use the service.

Desirability of "suggested" posts is a subjective thing. I do not intend to make this decision for everyone.

I still have my initial commit which was blocking the "suggested for you" posts on the classic facebook design. The branch is outdated and breaking facebook's feed. It was written before the launch of new FB5 design.

If @tiratatp would agree on that, I could try creating a simple options menu to enable/disable the "suggested for you" posts. If so, please reopen this issue to keep track of the status. There's no rush or time schedule for that so don't expect it within a few days.

If it's an opt-in option for this, then I'm okay with it.

Is it easy to block? I'd imagine it would be easy enough since this is not a sponsored post, maybe we can use a plain CSS to block.

@tiratatp
Copy link
Collaborator

@ajsnyde you are welcome to submit a pull request too.

@Robertof
Copy link

Hey, thank you for the great work on maintaining this extension!

FWIW I looked at how the "Suggested for you" posts are represented in FB5's DOM and it's a bit of a mess. I've found that matching the text is effective but it would obviously require a list of translated strings like there currently is for sponsored posts.

This is the uBlock Origin rule I'm currently using at the moment which works:

www.facebook.com##div[data-pagelet^="FeedUnit_"]:has(span[dir="auto"]:first-of-type:has-text(/^Suggerit[ao] per te$/))

As I said above though, the translation needs to be adapted to whatever language your FB is using.

@ajsnyde
Copy link

ajsnyde commented Jun 16, 2020

Desirability of "suggested" posts is a subjective thing. I do not intend to make this decision for everyone.

Never meant to have that functionality mandatory. Opt-in, of course.

@privacyguy123
Copy link

privacyguy123 commented Sep 24, 2020

Hey, thank you for the great work on maintaining this extension!

FWIW I looked at how the "Suggested for you" posts are represented in FB5's DOM and it's a bit of a mess. I've found that matching the text is effective but it would obviously require a list of translated strings like there currently is for sponsored posts.

This is the uBlock Origin rule I'm currently using at the moment which works:

www.facebook.com##div[data-pagelet^="FeedUnit_"]:has(span[dir="auto"]:first-of-type:has-text(/^Suggerit[ao] per te$/))

As I said above though, the translation needs to be adapted to whatever language your FB is using.

How to include the commit that blocks these posts too? I mean, nobody wants to see them lol.

@pa28236
Copy link

pa28236 commented Oct 27, 2020

I'd be extremely happy if this was an option to block or not block. For me, I will block! These "Suggested for you" posts are extremely invasive!

@DeeKey
Copy link

DeeKey commented Nov 17, 2020

An option to block "Sug. you" posts would be just great! Too annoying to see!!!

@haidang666
Copy link
Contributor

Hey, thank you for the great work on maintaining this extension!

FWIW I looked at how the "Suggested for you" posts are represented in FB5's DOM and it's a bit of a mess. I've found that matching the text is effective but it would obviously require a list of translated strings like there currently is for sponsored posts.

This is the uBlock Origin rule I'm currently using at the moment which works:

www.facebook.com##div[data-pagelet^="FeedUnit_"]:has(span[dir="auto"]:first-of-type:has-text(/^Suggerit[ao] per te$/))

As I said above though, the translation needs to be adapted to whatever language your FB is using.

we can create an UI to input the text to match so users can do the translation by themselves.

@ssi-anik
Copy link

Doesn't seem to remove the sponsored ads! Shows very often.
image

@alundiak
Copy link

alundiak commented Apr 9, 2021

If anyone asks me, I would vote for blocking "Suggested for You" items. I realize, it's not ad per se, but it's not what I may need to be suggested. So anything I don't expect to be my action, I always treat as invasive as ad.

@alex-quiniou
Copy link

Hey, thank you for the great work on maintaining this extension!

FWIW I looked at how the "Suggested for you" posts are represented in FB5's DOM and it's a bit of a mess. I've found that matching the text is effective but it would obviously require a list of translated strings like there currently is for sponsored posts.

This is the uBlock Origin rule I'm currently using at the moment which works:

www.facebook.com##div[data-pagelet^="FeedUnit_"]:has(span[dir="auto"]:first-of-type:has-text(/^Suggerit[ao] per te$/))

As I said above though, the translation needs to be adapted to whatever language your FB is using.

I have tried. No sucess. Is it working today with the new visual change on Facebook ?

@RedRelay
Copy link

RedRelay commented Aug 15, 2021

I have recently shared a post about micro-dosing in US and damage it create in workplace. Since, facebook suggest me to buy "micro-dosing starter kit" thought the suggest post. Fortunately I haven't shared pedo scandals, since I don't want to have suggestion to buy a pedo starter kit. Well, this is my personnal experience on Facebook. Do you still think desirability of theses posts is "subjective" ? I don't think so. No offense at all in my comment ;) I think the best way is to let the user choose.
I will made a pull request if I found time this week

@daslicht
Copy link

daslicht commented Sep 4, 2021

sponsored ads are also displayed, eg:

@StephanRaab
Copy link

StephanRaab commented Apr 8, 2022

@alex-quiniou

It worked for me in ublock origin, once I changed the text to my language. Did you change it to French for your facebook language?

@skwzrd
Copy link

skwzrd commented Aug 12, 2023

I am using the following script to remove "Suggested for you" and "Reels and short videos" feeds.

function getParentElement(element, level = 1) {
    while (level-- > 0) {
      element = element.parentElement;
      if (!element) return null;
    }
    return element;
}

function hideJunk(){
  var spans = document.querySelectorAll('span');

  for (var i = 0; i < spans.length; i++) {
      if (spans[i].textContent === 'Suggested for you') {
        getParentElement(spans[i], 6).hidden = true;
      }
      else if (spans[i].textContent === 'Reels and short videos') {
        getParentElement(spans[i], 6).hidden = true;
      }
  }
}

setInterval(hideJunk, 500); // hide posts as they are generated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests