Facebook.com Sponsored ads posts

Here you should report unblocked ads, trackers, social media items, annoyances or leftovers from blocked content.

Moderator: EasyList authors

Guest99
Site Member
Site Member
Posts: 31
Joined: Fri Jul 08, 2016 6:01 am
Reputation: 0

Facebook.com Sponsored ads posts

Post by Guest99 » Tue Aug 09, 2016 11:13 pm

Sponsored ad posts/statuses are appearing in my Facebook feed. Is there anyway to block them?

Image

https://reports.adblockplus.org/9d290fe ... 7397234d8e

ManaSpike
New Member
New Member
Posts: 1
Joined: Wed Aug 10, 2016 11:24 am
Reputation: 0

Post by ManaSpike » Wed Aug 10, 2016 11:25 am

They seem to match;
www.facebook.com##div[data-xt]
But only after they are loaded. Re-load the page, and the adds reappear...

intense
Contributor
Contributor
Posts: 6691
Joined: Wed Mar 27, 2013 9:56 am
Reputation: 74

Post by intense » Wed Aug 10, 2016 2:53 pm

could you try this filter:

Code: Select all

facebook.com###u_jsonp_2_1

kekriku
New Member
New Member
Posts: 1
Joined: Wed Aug 10, 2016 5:50 pm
Reputation: 0

Post by kekriku » Wed Aug 10, 2016 5:52 pm

Code: Select all

facebook.com##:xpath(//a[text()='Sponsored']/parent::span/ancestor::div[contains(concat(' ',normalize-space(@class),' '),' userContentWrapper ')])
this works, but people will have to change 'Sponsored' according to their fb language setting.

Guest99
Site Member
Site Member
Posts: 31
Joined: Fri Jul 08, 2016 6:01 am
Reputation: 0

Post by Guest99 » Wed Aug 10, 2016 10:11 pm

I tried the filters and none of them worked.

TefTef
New Member
New Member
Posts: 3
Joined: Thu Aug 11, 2016 1:46 am
Reputation: 0

Post by TefTef » Thu Aug 11, 2016 1:56 am

Those FB ads are driving me crazy, tried blocking several different ways and keeps coming back.

also tried the filters, nothing.

Code: Select all


<DIV
id="u_jsonp_2_o"
class="_4-u2 mbm _5v3q _4-u8" >
Thats the line that does it for me, but reload and its back too...

Somehow I manage to block the image of the Dollar Shave Club ad, dunno how, but the post always comes back anyway.

http://i.imgur.com/xcY0yIf.jpg & http://i.imgur.com/DYqyNSM.jpg

Guest99
Site Member
Site Member
Posts: 31
Joined: Fri Jul 08, 2016 6:01 am
Reputation: 0

Post by Guest99 » Thu Aug 11, 2016 9:12 am

These ads are based off of a WAN IP address. They show ads near you when it comes to stores and what not. It says you can hide them using the down arrow on FB but it doesn't actually work on a desktop.

IsraeliAdblocker
HebrewList Author
HebrewList Author
Posts: 31
Joined: Thu Jul 21, 2016 10:59 am
Reputation: 0

Post by IsraeliAdblocker » Thu Aug 11, 2016 9:19 am

Code: Select all

www.facebook.com##div[data-xt]
worked here.

rhanajoy
AdBlock Community Manager
AdBlock Community Manager
Posts: 276
Joined: Fri Jul 03, 2015 10:40 am
Reputation: 2

Post by rhanajoy » Thu Aug 11, 2016 1:28 pm

It looks like @IsraeliAdblocker's filter is working for me too!
Rhana
AdBlock Community Manager

Posting on behalf of AdBlock (not ABP), when users come to us first and we have some reason to get involved with the discussion. http://help.getadblock.com

TefTef
New Member
New Member
Posts: 3
Joined: Thu Aug 11, 2016 1:46 am
Reputation: 0

Post by TefTef » Thu Aug 11, 2016 10:03 pm

IsraeliAdblocker wrote:

Code: Select all

www.facebook.com##div[data-xt]
Thanks that did seem to have taken care of the problem!

:banana:

Guest99
Site Member
Site Member
Posts: 31
Joined: Fri Jul 08, 2016 6:01 am
Reputation: 0

Post by Guest99 » Thu Aug 11, 2016 10:35 pm

IsraeliAdblocker wrote:

Code: Select all

www.facebook.com##div[data-xt]
Works.

TefTef
New Member
New Member
Posts: 3
Joined: Thu Aug 11, 2016 1:46 am
Reputation: 0

Post by TefTef » Fri Aug 12, 2016 1:51 am

nope it came all back :(

Guest99
Site Member
Site Member
Posts: 31
Joined: Fri Jul 08, 2016 6:01 am
Reputation: 0

Post by Guest99 » Fri Aug 12, 2016 3:34 am

TefTef wrote:nope it came all back :(
Same here.

rhanajoy
AdBlock Community Manager
AdBlock Community Manager
Posts: 276
Joined: Fri Jul 03, 2015 10:40 am
Reputation: 2

Post by rhanajoy » Fri Aug 12, 2016 2:10 pm

The second round of the war started. Facebook changed its code again.
Rhana
AdBlock Community Manager

Posting on behalf of AdBlock (not ABP), when users come to us first and we have some reason to get involved with the discussion. http://help.getadblock.com

Bluesmanshy
New Member
New Member
Posts: 3
Joined: Fri Aug 12, 2016 2:14 pm
Reputation: 0

Post by Bluesmanshy » Fri Aug 12, 2016 2:22 pm

Hello everyone! I'm an absolute noob in computing... My question is about the code you have proposed : where should i go to try the different solutions suggested by you? where do you put the code lines?

Thank you all for your future answers!

signed : hacker lvl 0 :D

User avatar
smed79
Liste AR Author
Liste AR Author
Posts: 11699
Joined: Sun Jan 17, 2010 4:00 am
Reputation: 92
Location: EasyList Forum

Post by smed79 » Fri Aug 12, 2016 2:50 pm

Bluesmanshy wrote:where should i go to try the different solutions suggested by you?
Here how do I add a customer filter https://adblockplus.org/forum/viewtopic.php?f=2&t=42013
Bluesmanshy wrote:I'm an absolute noob in computing.
read about filters https://adblockplus.org/filters
•► Before posting, to find your answer fast, read Forum « RULES » and use « Search »
••► Don't post clickable links » use inline text bbcode notation « [ C ] » or « [ code ] »

intense
Contributor
Contributor
Posts: 6691
Joined: Wed Mar 27, 2013 9:56 am
Reputation: 74

Post by intense » Fri Aug 12, 2016 2:54 pm

Did you update easylist ? Some user reported is working now.

Bluesmanshy
New Member
New Member
Posts: 3
Joined: Fri Aug 12, 2016 2:14 pm
Reputation: 0

Post by Bluesmanshy » Fri Aug 12, 2016 3:29 pm

Thanks smed79 for the link. I'm gonna work on this!

And yes intense i update easylist ;) (french and english version even i don't know if there is a difference between them)

Thanks to the both of you for the quick answers ! :D

But as said by Rhanajoy "The second round of the war started. Facebook changed its code again." So just a matter of patience...

User avatar
smed79
Liste AR Author
Liste AR Author
Posts: 11699
Joined: Sun Jan 17, 2010 4:00 am
Reputation: 92
Location: EasyList Forum

Post by smed79 » Fri Aug 12, 2016 3:38 pm

Bluesmanshy wrote:french and english version even i don't know if there is a difference between them
EasyList is the primary filter list that removes most adverts from international webpages.
Liste FR is supplement list for easylist which block ads on french webpages.
•► Before posting, to find your answer fast, read Forum « RULES » and use « Search »
••► Don't post clickable links » use inline text bbcode notation « [ C ] » or « [ code ] »

ShadeKynth
New Member
New Member
Posts: 1
Joined: Fri Aug 12, 2016 9:44 pm
Reputation: 0

Post by ShadeKynth » Fri Aug 12, 2016 9:46 pm

Hi guys,

Set up an account just to post this. I found a workaround for the new facebook code to selectively target the suggested posts etc.;

##DIV[data-insertion-position]:not([data-timestamp])

Seems to also block video showing up if you click on a suggested video... but I can live with that.

Guest99
Site Member
Site Member
Posts: 31
Joined: Fri Jul 08, 2016 6:01 am
Reputation: 0

Post by Guest99 » Fri Aug 12, 2016 11:01 pm

The "hide ad" option from Facebook doesn't even work.

Guest99
Site Member
Site Member
Posts: 31
Joined: Fri Jul 08, 2016 6:01 am
Reputation: 0

Post by Guest99 » Fri Aug 12, 2016 11:15 pm

This filter has been added to EasyList

Code: Select all

facebook.com##div[id^="substream_"] ._5jmm[data-dedupekey][data-cursor][data-ftr="1"][data-fte="1"]:not([data-timestamp])
It seems to kill those suggested post ads.

So just update your filters like another user suggested.

hannobo
Guest

Post by hannobo » Sat Aug 13, 2016 2:46 am

Facebook was quick: The fix from viewtopic.php?f=62&t=31995&start=15 doesn't work anymore.
Now suggested posts also have the date-timestamp element.

Suggested post:

Code: Select all

<div data-fte="1" data-ftr="1" class="_5jmm _5pat _3lb4 _59m _x72" id="hyperfeed_story_id_57ae800aa79194811977263" data-testid="fbfeed_story" data-cursor="MTQ3MTA1MzgxMToxNDcxMDUzODExOjI6LTE4NDEzNzIxMDkzNTAxMjI5NDg6MTQ2OTUyOTIyMzow" data-dedupekey="-1841372109350122948" data-timestamp="1471027474" data-referrer="hyperfeed_story_id_57ae800aa79194811977263" aria-labelledby="js_h js_i js_j js_k" data-insertion-position="3">XXX</div>
On this level, I cannot see any difference from good posts; the first reliable sub-element seems to be <a class="uiStreamSponsoredLink"...>, but I don't know if Adblock supports backwards CSS selection (e.g. contains), since pure CSS does not. Any ideas?

hanno

ps: Also, on viewtopic.php?f=62&t=31995&start=15 the Google reCAPTCHA doesn't show up, which is why I had to open a new thread.

Guest99
Site Member
Site Member
Posts: 31
Joined: Fri Jul 08, 2016 6:01 am
Reputation: 0

Post by Guest99 » Sat Aug 13, 2016 7:11 am

Yeah the filter is no bueno again.

blauerseefahrer
Site Member
Site Member
Posts: 33
Joined: Sun Oct 04, 2015 9:25 am
Reputation: 0

Post by blauerseefahrer » Sat Aug 13, 2016 8:55 am

I found a way here https://github.com/tiratatp/facebook_adblock
As you see, there is an addon for firefox and chrome and either are good.
https://chrome.google.com/webstore/deta ... ag/related
https://addons.mozilla.org/firefox/addo ... k_adblock/
no more facebook ads

Bluesmanshy
New Member
New Member
Posts: 3
Joined: Fri Aug 12, 2016 2:14 pm
Reputation: 0

Post by Bluesmanshy » Sat Aug 13, 2016 9:44 am

Thanks blauerseefarher! The module works perfectly for me! :D

But i have another question (it never ends)... I find that in my news feed there is too much publications that i can see just because my friends "like" them... I wondered if it was possible to put an end to this. I don't want to see all the things my friends "like", i just wanna see these publications when my friends share them or post it directly on their wall.

I hope you understand my problem :D it's been a long time i did not speak english!

And i discovered this forum recently. love his community :D

User avatar
smed79
Liste AR Author
Liste AR Author
Posts: 11699
Joined: Sun Jan 17, 2010 4:00 am
Reputation: 92
Location: EasyList Forum

Post by smed79 » Sat Aug 13, 2016 11:45 am

Bluesmanshy wrote:I wondered if it was possible to put an end to this. I don't want to see all the things my friends "like", i just wanna see these publications when my friends share them or post it directly on their wall.
Stop seeing friends like / share https://www.google.com/search?q=stop+se ... like+share
Block facebook annoyances https://facebook.adblockplus.me/
•► Before posting, to find your answer fast, read Forum « RULES » and use « Search »
••► Don't post clickable links » use inline text bbcode notation « [ C ] » or « [ code ] »

AintBigAintClever
Site Member
Site Member
Posts: 13
Joined: Sat Jun 20, 2015 2:24 pm
Reputation: 0

Post by AintBigAintClever » Sat Aug 13, 2016 4:04 pm

I just tried the Chrome addon mentioned above, no luck.

I don't know whether this can be handled by ABP without some recoding. Here's example code of one of the adverts, the 37 kilobytes (for ONE advert) has been trimmed down to just the DIVs. As you can see, the whole DIV would need to be blocked if it in turn contains a DIV, which contains a DIV, which contains a DIV, which contains a DIV, which contains a DIV, which contains a SPAN containing the words "Suggested post":-

http://pastebin.com/xhUV0CZx

IsraeliAdblocker
HebrewList Author
HebrewList Author
Posts: 31
Joined: Thu Jul 21, 2016 10:59 am
Reputation: 0

Post by IsraeliAdblocker » Sun Aug 14, 2016 12:13 am

looks like facebook are winning the battle.

Guest99
Site Member
Site Member
Posts: 31
Joined: Fri Jul 08, 2016 6:01 am
Reputation: 0

Post by Guest99 » Sun Aug 14, 2016 3:41 am

@smed79

who wrote "Block facebook annoyances"?

Locked