AdguardTeam / AdguardFilters

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

www.facebook.com #145664

Closed adguard-bot closed 1 year ago

adguard-bot commented 1 year ago

Issue URL (Ads)

https://www.facebook.com/

Comment

Username: @Fortin

Sponsored posts...

Screenshots

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

System configuration

Information value
AdGuard product: AdGuard Browser extension v4.1.53
Browser: Firefox
Stealth mode: disabled
Filters: Ad Blocking:
AdGuard Base

Privacy:
AdGuard Tracking Protection

Social Widgets:
AdGuard Social Media

Annoyances:
AdGuard Annoyances

Other:
AdGuard DNS,
AdGuard Experimental

Language-specific:
AdGuard Chinese,
AdGuard Spanish/Portuguese,
EasyList Czech and Slovak,
EasyList Italy,
Official Polish filters for AdBlock, uBlock Origin & AdGuard,
KAD - Anti-Scam,
Polish Annoyances Filters,
Polish Anti Adblock Filters,
Frellwit's Swedish Filter,
Polish Anti-Annoying Special Supplement
adguard-bot commented 1 year ago

Issue URL (Ads)

https://www.facebook.com/

Screenshots

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

System configuration

Information value
AdGuard product: AdGuard for Windows v7.9.1
Browser: Chrome
AdGuard driver: WFP
Stealth mode options: Hide your search queries,
Send Do-Not-Track header,
Remove X-Client-Data header from HTTP requests,
Self-destructing third-party cookies (30),
Block WebRTC,
Block Push API,
Block Location API,
Block Flash
DNS filtering: disabled
Filters: Ad Blocking:
AdGuard Base

Privacy:
AdGuard Tracking Protection

Social Widgets:
AdGuard Social Media

Annoyances:
Adblock Warning Removal List

Language-specific:
EasyList Italy,
Liste AR,
Icelandic ABP List,
List-KR,
YousList,
AdGuard Russian,
AdGuard Chinese,
AdGuard German,
AdGuard Japanese,
AdGuard Dutch
Custom filters: https://github.com/List-KR/List-KR/raw/master/filter.txt
Userscripts: https://userscripts.adtidy.org/release/assistant/4.3/assistant.user.js,
https://userscripts.adtidy.org/release/popup-blocker/2.5/popupblocker.user.js,
https://userscripts.adtidy.org/release/adguard-wot/1.0/wot.user.js,
https://cdn.jsdelivr.net/gh/List-KR/NamuLink@main/NamuLink.user.js
Alex-302 commented 1 year ago

Can't restore access to FB. @AdamWr Please take a look.

AdamWr commented 1 year ago

https://github.com/AdguardTeam/AdguardFilters/issues/145664#issue-1626904420 - 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.

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


https://github.com/AdguardTeam/AdguardFilters/issues/145664#issuecomment-1474962382 - I cannot reproduce it.