AdguardTeam / AdguardFilters

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

www.facebook.com #145152

Closed adguard-bot closed 1 year ago

adguard-bot commented 1 year ago

Issue URL (Ads)

https://www.facebook.com/

Comment

Facebook ads showing up in newsfeed, and in Facebook watch page in between videos in watch feed. Even though AdGuard is enabled.

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/X3dJZXZ.png)

System configuration

Information value
AdGuard product: AdGuard Browser extension v4.1.53
Browser: Firefox
Stealth mode options: Hide your search queries,
Send Do-Not-Track header,
Self-destructing third-party cookies (2880),
Hide your Referrer from third-parties
Filters: Ad Blocking:
AdGuard Base,
AdGuard Mobile Ads

Privacy:
AdGuard Tracking Protection,
EasyPrivacy,
Fanboy's Enhanced Tracking List,
Peter Lowe's Blocklist,
Fanboy's Anti-Facebook List

Social Widgets:
AdGuard Social Media

Annoyances:
AdGuard Annoyances,
AdGuard Cookie Notices,
AdGuard Popups,
Adblock Warning Removal List,
Fanboy's Annoyances,
Web Annoyances Ultralist,
I don't care about cookies,
Dandelion Sprout's Annoyances List

Security:
Online Malicious URL Blocklist,
NoCoin Filter List

Other:
AdGuard DNS

Language-specific:
AdGuard Turkish,
AdGuard French,
AdGuard Russian,
AdGuard Chinese,
AdGuard Japanese,
AdGuard Dutch,
EasyList Thailand,
ABPVN List,
Frellwit's Swedish Filter
Other extensions used: Cold Turkey Blocker
AdamWr commented 1 year ago

The problem is that extensions for Firefox and Opera cannot download/update Javascript rules. Please add this rule:

facebook.com,facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion#%#!function(){var b=0,d=[];new MutationObserver(function(){document.querySelectorAll("div[data-pagelet^=\"FeedUnit\"]:not([style*=\"display: none\"]), div[role=\"feed\"] > div:not([style*=\"display: none\"]), div[role=\"feed\"] > span:not([style*=\"display: none\"]), #ssrb_feed_start + div > div[class]:not([style*=\"display: none\"]), #ssrb_feed_start + div span > h3 ~ div[class]:not([style*=\"display: none\"]), #ssrb_feed_start + div h3~ div[class]:not([style*=\"display: none\"]), #ssrb_feed_start + div h3 ~ div > div[class]:not([style*=\"display: none\"]), div[role=\"main\"] div[class] > #ssrb_feed_start ~ div > h3 ~ div > div[class]:not([style*=\"display: none\"]),div[role=\"main\"] div > h3 ~ div > div[class]:not([style*=\"display: none\"])").forEach(function(e){Object.keys(e).forEach(function(a){if(a.includes("__reactEvents")||a.includes("__reactProps")){a=e[a];try{if(a.children?.props?.category?.includes("SPONSORED")||a.children?.props?.children?.props?.category?.includes("SPONSORED")||a.children?.props?.children?.props?.feedEdge?.category?.includes("SPONSORED")||a.children?.props?.children?.props?.children?.props?.feedEdge?.category?.includes("SPONSORED")){b++,e.style="display: none !important;";var f=e.querySelector("a[href][aria-label]:not([aria-hidden])");f&&(d.push(["Ad blocked based on property ["+b+"] -> "+f.ariaLabel]),console.table(d))}}catch(a){}}})})}).observe(document,{childList:!0,subtree:!0})}();

to user rules.

You can also try to install AdGuard Extra - https://github.com/AdguardTeam/AdGuardExtra#how-to-install-adguard-extra It also should blocks sponsored posts.

adguard-bot commented 1 year ago

Issue URL (Ads)

https://www.facebook.com

Comment

All ads are showing in the app, regardless of whether ad blocking is enabled in AdGuard or not. All video and embedded "sponsored" media shows. Statistics within the AdGuard app show that not a single ad is being blocked anymore either. Device is a Samsung A50 phone with Android OS.

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/2622nV5.jpg)

System configuration

Information value
Platform: Android 11
AdGuard product: AdGuard for Android v3.6.11+(54)
Browser: Facebook Android App
AdGuard mode: VPN
Filtering quality: High-quality
HTTPS filtering: enabled
Stealth mode options: Hide your search queries,
Send Do-Not-Track header,
Remove X-Client-Data header from HTTP requests,
Block third-party Authorization header,
Self-destructing first-party cookies (1440),
Self-destructing third-party cookies (0),
Disable cache for third-party requests,
Block WebRTC,
Block Push API,
Block Location API,
Hide your Referrer from third-parties (www.google.com),
Hide your Referrer from third-parties,
Hide your IP address (208.54.104.184)
DNS filtering: server: https://2de3671f.d.adguard-dns.com/dns-query
filters: https://filters.adtidy.org/android/filters/15_optimized.txt
Filters: Ad Blocking:
AdGuard Base,
AdGuard Mobile Ads

Privacy:
Fanboy's Anti-thirdparty Fonts,
Legitimate URL Shortener,
AdGuard Tracking Protection,
Fanboy's Anti-Facebook List,
Fanboy's Enhanced Tracking List,
Peter Lowe's Blocklist,
EasyPrivacy,
AdGuard URL Tracking

Social Widgets:
AdGuard Social Media

Annoyances:
AdGuard Other Annoyances,
AdGuard Cookie Notices,
Fanboy's Annoyances,
AdGuard Popups,
AdGuard Annoyances,
I don't care about cookies,
Adblock Warning Removal List,
Dandelion Sprout's Annoyances List,
Web Annoyances Ultralist,
AdGuard Mobile App Banners,
AdGuard Widgets

Security:
Online Malicious URL Blocklist,
NoCoin Filter List

Other:
AdGuard DNS,
AdGuard Experimental

Language-specific:ROLIST2,
Bulgarian list,
AdGuard French,
AdGuard Russian,
EasyList China,
AdGuard Spanish/Portuguese,
AdGuard German,
Frellwit's Swedish Filter,
Latvian List,
EasyList Hebrew,
AdGuard Turkish,
Liste AR,
EasyList Italy,
Dandelion Sprout's Nordic Filters,
EasyList Czech and Slovak,
ABPindo,
Adblock List for Finland,
Official Polish filters for AdBlock, uBlock Origin & AdGuard,
AdGuard Dutch,
List-KR,
EasyList Lithuania,
Icelandic ABP List,
AdGuard Japanese
Userscripts: https://userscripts.adtidy.org/release/adguard-extra/1.0/adguard-extra.meta.js,
https://userscripts.adtidy.org/release/disable-amp/1.0/disable-amp.meta.js
Other extensions used: Trend Micro
BlazDT commented 1 year ago

Facebook app not fixable. Please use the browser or a third-party facebook app which has the ads removed.