AdguardTeam / AdguardFilters

AdGuard Content Blocking Filters
https://adguard.com/
GNU General Public License v3.0
3.17k stars 631 forks source link

facebook.com #152363

Closed adguard-bot closed 1 year ago

adguard-bot commented 1 year ago

Issue URL (Ads)

http://facebook.com

Comment

Username: @FrankConijn

Ads appear every 4 messages.

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/jpfTc4K.jpg)
Screenshot 2 ![Screenshot 2](https://reports-img.adguard.com/yMJ6vJ9.jpg)
Screenshot 3 ![Screenshot 3](https://reports-img.adguard.com/grUOjpj.jpg)

System configuration

Information value
AdGuard product: AdGuard/AdGuard Pro for iOS v4.4.6
Browser: Safari
DNS filtering: server: https://dns.adguard-dns.com/dns-query
filters: https://filters.adtidy.org/extension/chromium/filters/15.txt
Filters: Ad Blocking:
AdGuard Base,
AdGuard Mobile Ads,
EasyList

Privacy:
AdGuard Tracking Protection,
Peter Lowe's Blocklist

Social Widgets:
AdGuard Social Media

Language-specific:
AdGuard Dutch
Other extensions used: Geen
Alex-302 commented 1 year ago

@FrankConijn Is advanced filtering enabled?

FrankConijn commented 1 year ago

@FrankConijn Is advanced filtering enabled?

Yes, everything is enabled: General, Privacy, Custom, Social, Security, and Avanced (9713 rules).

Alex-302 commented 1 year ago

Please try to disable-enable content blockers in Safari settings and restart Safari, and check for filters update. Do not close AdGuard window ~90 seconds, because iOS will breaks configuration process.

BlazDT commented 1 year ago

Is view set to recent posts? If yes, please try this rule: facebook.com#$?#h2[dir="auto"] + div > div[class]:has( div[aria-posinset] div[style*="border-radius"] div[class] + div div[class] > div[class] > span[dir="auto"] > span[id] > span > span[class] > a[href] > span > span[aria-labelledby] svg > use[xlink\:href="#gid1"]) { height: 1px !important; visibility: hidden !important; }

shaz99-99 commented 1 year ago

Where can you put in rules?

BlazDT commented 1 year ago

User Filter.

shaz99-99 commented 1 year ago

Please see also case #151730

shaz99-99 commented 1 year ago

Where can you add rules? I don’t see any such option in the app

image
shaz99-99 commented 1 year ago

User Filter.

I don’t see where to do that in the app

FrankConijn commented 1 year ago

Please try to disable-enable content blockers in Safari settings and restart Safari, and check for filters update. Do not close AdGuard window ~90 seconds, because iOS will breaks configuration process.

Done that. Unfortunately, no cure. Ads still appear every 4 messages.

FrankConijn commented 1 year ago

Is view set to recent posts? If yes, please try this rule: facebook.com#$?#h2[dir="auto"] + div > div[class]:has( div[aria-posinset] div[style*="border-radius"] div[class] + div div[class] > div[class] > span[dir="auto"] > span[id] > span > span[class] > a[href] > span > span[aria-labelledby] svg > use[xlink\:href="#gid1"]) { height: 1px !important; visibility: hidden !important; }

I added the rule; no effect, unfortunately. But where can I check that I have View set to Recent Posts? I think I have because I get new messages every day, but I'm not sure.

shaz99-99 commented 1 year ago

Is view set to recent posts? If yes, please try this rule: facebook.com#$?#h2[dir="auto"] + div > div[class]:has( div[aria-posinset] div[style*="border-radius"] div[class] + div div[class] > div[class] > span[dir="auto"] > span[id] > span > span[class] > a[href] > span > span[aria-labelledby] svg > use[xlink\:href="#gid1"]) { height: 1px !important; visibility: hidden !important; }

I added the rule; no effect, unfortunately. But where can I check that I have View set to Recent Posts? I think I have because I get new messages every day, but I'm not sure.

I’ve also managed to add the rule (took me some time to find out where to do that) - ads are still showing. My Facebook view is set to recent posts.

BlazDT commented 1 year ago

Most recent can be viewed via this way: Tap in the top right of Facebook. Scroll down and tap Most Recent.

Sadly I cannot reproduce on Mobile and very rarely on Desktop with that setting. @AdamWr do you see those ads?

AdamWr commented 1 year ago

I have added a rule to hide sponsored posts in Feeds (Most Recent) tab, about 1 hour ago (but I have checked it out only on desktop, I'm not sure if it will works on mobile). Filters update should be available now.

shaz99-99 commented 1 year ago

Still happening, please see screenshot

image
FrankConijn commented 1 year ago

I have added a rule to hide sponsored posts in Feeds (Most Recent) tab, about 1 hour ago (but I have checked it out only on desktop, I'm not sure if it will works on mobile). Filters update should be available now.

I had my filters updated and both apps restarted. But it did not cure the problem in iOS Safari, unfortunately.

What also makes no difference is me having all Facebook cookies (https://www.facebook.com/settings/cookie/) and external Meta ads (https://www.facebook.com/adpreferences/ad_settings/?section=audience_network&entry_product=accounts_center) allowed or disallowed.

Alex-302 commented 1 year ago

@FrankConijn Do you see ads only on this site? Is AdGuard detected on this page? https://adguard.com/test.html

FrankConijn commented 1 year ago

Hi,

If you mean “Do you see ads only on Facebook?”, the answer is affirmative. On other pages, I see no ads, except for an occasional standard ad such as the Free Coding Assessment ad on https://www.sitepoint.com/community/t/how-to-add-an-element-after-an-element-in-modern-vanilla-javascript/417884. (And like I already wrote, I use Safari to visit Facebook.)

Regarding your test page, this is the result:

Adguard app : Active

Adguard VPN: Not active

Adguard Extra: Not active

Adguard DNS: Active

Kind regards,

Frank Conijn

From: Alex @.> Sent: dinsdag 6 juni 2023 16:27 To: AdguardTeam/AdguardFilters @.> Cc: Frank Conijn @.>; Mention @.> Subject: Re: [AdguardTeam/AdguardFilters] facebook.com (Issue #152363)

@FrankConijn https://github.com/FrankConijn Do you see ads only on this site? Is AdGuard detected on this page? https://adguard.com/test.html

— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdguardFilters/issues/152363#issuecomment-1578871813 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4MC2RAWF7MTIQJ7VJCDWLXJ4435ANCNFSM6AAAAAAYT6SLNU . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AC4MC2RPLRL45Z2UPHAAGRTXJ4435A5CNFSM6AAAAAAYT6SLNWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS6DOWAK.gif Message ID: @. @.> >

Alex-302 commented 1 year ago

I use Safari to visit Facebook

Safari does not have native support of advanced rules. I am sure this is a reason. Our implementation may work unstable (advanced rules executed too late).

FrankConijn commented 1 year ago

I don't know whether you or Facebook changed anything, but since a week or two, I don't see any ads anymore. :-)

Alex-302 commented 1 year ago

@FrankConijn Probably that's because of non-native implementation of advanced filtering. Sometimes it requires refreshing the page several times to start applying advanced protection.

FrankConijn commented 1 year ago

@Alex-302 -- I wonder whether that's the issue. What I forgot to mention is that I don't see anymore ads in the Facebook app either. :-D

FrankConijn commented 1 year ago

RECALL. Unfortunately, the ad-free episode was short-lived. They're back, both in the Facebook app and in Safari. Bummer. :-(