AdguardTeam / AdguardFilters

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

www.msn.cn #182779

Open adguard-bot opened 4 days ago

adguard-bot commented 4 days ago

Issue URL (Ads)

https://www.msn.cn/zh-cn/news/other/%E9%A6%96%E4%B8%AA%E8%AE%BE%E7%BD%AE%E5%8A%A8%E6%80%81%E6%9B%B4%E6%96%B0%E5%92%8C%E6%81%A2%E5%A4%8D%E6%9B%B4%E6%96%B0%E5%8F%91%E5%B8%83-%E5%BE%AE%E8%BD%AF%E6%AD%A3%E9%85%9D%E9%85%BF-win11-24h2-%E6%9B%B4%E6%96%B0/ar-BB1pjlah?ocid=socialshare&pc=CNNDDB&cvid=6684bbc3f1384b8f8924c7548d1949d7&ei=9

Comment

AdamWr

Screenshots

Screenshot 1 ![Screenshot 1](https://cdn.adguard.info/sitereports/ponj030ezpc4o8ccsk0c888w40cgsko6i8d7wu4ar8.png?nc=1)

System configuration

Information Value
AdGuard product: AdGuard for Windows v7.18.0 nightly 7 (4776)
Browser: Edge
License type: paid
AdGuard driver: WFP
Stealth mode: disabled
DNS filtering: disabled
Filters: Ad Blocking:
AdGuard Base

Annoyances:
AdGuard Annoyances

Language-specific:
AdGuard Chinese
Userscripts: disabled
Other extensions used: eset

Import issue configuration (AdGuard for Windows)

Import

adguard-bot commented 4 days ago

Issue URL (Ads)

https://www.msn.cn/zh-cn

Screenshots

Screenshot 1 ![Screenshot 1](https://cdn.adguard.info/sitereports/c3wytgwcbm88kc448wok0c44ksgkcccjsojk81am68.jpg?nc=1)

System configuration

Information Value
AdGuard product: AdGuard Browser Extension v4.3.53
System version: Windows 10
Browser: Edge
Stealth mode options: Block WebRTC,
Strip URLs from tracking parameters,
Hide your search queries,
Send Do-Not-Track header,
Self-destructing third-party cookies (2880),
Block trackers
Filters: Ad Blocking:
AdGuard Base

Privacy:
AdGuard Tracking Protection,
AdGuard URL Tracking,
Legitimate URL Shortener

Annoyances:
AdGuard Annoyances,
AdGuard Cookie Notices,
AdGuard Popups,
AdGuard Other Annoyances,
AdGuard Widgets,
Adblock Warning Removal List

Other:
AdGuard DNS,
Filter unblocking search ads and self-promotion

Language-specific:
AdGuard Chinese
Alex-302 commented 4 days ago

Not reproduced. Shopping is their own stuff.

YHSanSheng commented 4 days ago

Not reproduced. Shopping is their own stuff.

除了购物,还有另外两个地方明确标记为“广告”的内容没有被屏蔽。它分别涉及旅行和游戏。 —————————————————————————————————————————— In addition to shopping, there were two other places where content clearly marked as "ads"(广告) was not blocked. Respectively it involves travel and games.

1

Alex-302 commented 4 days ago

@YHSanSheng In Edge with Chinese IP I don't see ads:

Details ![image](https://github.com/AdguardTeam/AdguardFilters/assets/8361299/b3d2a605-62fe-46b3-9dd9-a0828ab41b9e)

@AdamWr @zloyden Could you please take a look?

AdamWr commented 4 days ago

Even with VPN I'm redirected to msn.com (https://github.com/AdguardTeam/AdguardFilters/issues/180179#issuecomment-2137620747), maybe the same rules as for msn.com will work on msn.cn. Please add these rules to user rules:

msn.cn#%#//scriptlet('inject-css-in-shadow-dom', 'cs-native-ad-card-no-hover, display-ads, .display-ad-container, .display-ads-container, .views-right-rail-top-display, #entry-point-hp-wc-banner, .me-stripe-title-subtitle, #displayAdCard, a[href*=".booking.com/"], a[href^="https://amzn.to/"] { display: none !important; }')
msn.cn#%#//scriptlet('inject-css-in-shadow-dom', 'cs-native-ad-card { visibility: hidden !important; }')
msn.cn#%#//scriptlet('inject-css-in-shadow-dom', '#entry-point-hp-wc-header[style^="top:"] { top: 0 !important; }')
msn.cn#%#//scriptlet('inject-css-in-shadow-dom', '#entry-point-hp-wc-root-wrapper[style^="margin-top:"] { margin-top: 0 !important; }')
msn.cn#%#//scriptlet('json-prune', '*.*', 'adFeedbackData adType adServedUrls')

and then check if issue still occurs.

zloyden commented 4 days ago

I'm also being redirected to msn.com like Adam.

YHSanSheng commented 4 days ago

@Alex-302 这些广告非常狡猾,它似乎只在特定的地区进行加载。 The ads are very dodgy, and it seems to only load in specific regions. ———————————————————————————————— 我尝试通过拦截广告资源JS文件的方式让他们消失了。 I tried to make them disappear by blocking the inventory JS files. ———————————————————————————————— 1 ————————————————————————————————

https://assets.msn.cn/bundles/v1/homePage/latest/libs_ad-service_dist_NativeAdService_js.939a93414b8badf43605.js

———————————————————————————————— 我不知道这条规则是否符合规范,但是它的确生效了。 I don't know if this rule is up to the norm, but it does work. ———————————————————————————————— 之所以使用是因为这两处地方可能会变动 '' is used because these two places are subject to change ———————————————————————————————— ||assets.msn.cn/bundles/v1/homePage/latest/libs_ad-servicedistNativeAdService.js 2

wolaikk commented 4 days ago

这些广告非常狡猾,它似乎只在特定的地区进行加载。广告非常狡猾,似乎只在特定地区加载。 ———————————————————————————————— 我尝试通过拦截广告资源JS文件的方式让他们消失了。我试图通过阻止库存 JS 文件来使它们消失。 1————————————————————————————————————————————————————————————————

https://assets.msn.cn/bundles/v1/homePage/latest/libs_ad-service_dist_NativeAdService_js.939a93414b8badf43605.js

———————————————————————————————— 我不知道这条规则是否符合规范,但是它的确生效了。我不知道这条规则是否符合规范,但它确实有效。 ———————————————————————————————— 之所以使用是因为这两处地方可能会变动 '' 是因为这两个地方可能会发生变化———————————————————————————————— ||assets.msn.cn/bundles/v1/homePage/latest/libs_ad-service_dist_NativeAdService.js 2

no

wolaikk commented 4 days ago

Even with VPN I'm redirected to (#180179 (comment)), maybe the same rules as for will work on . Please add these rules to user rules:msn.com``msn.com``msn.cn

msn.cn#%#//scriptlet('inject-css-in-shadow-dom', 'cs-native-ad-card-no-hover, display-ads, .display-ad-container, .display-ads-container, .views-right-rail-top-display, #entry-point-hp-wc-banner, .me-stripe-title-subtitle, #displayAdCard, a[href*=".booking.com/"], a[href^="https://amzn.to/"] { display: none !important; }')
msn.cn#%#//scriptlet('inject-css-in-shadow-dom', 'cs-native-ad-card { visibility: hidden !important; }')
msn.cn#%#//scriptlet('inject-css-in-shadow-dom', '#entry-point-hp-wc-header[style^="top:"] { top: 0 !important; }')
msn.cn#%#//scriptlet('inject-css-in-shadow-dom', '#entry-point-hp-wc-root-wrapper[style^="margin-top:"] { margin-top: 0 !important; }')
msn.cn#%#//scriptlet('json-prune', '*.*', 'adFeedbackData adType adServedUrls')

and then check if issue still occurs.

fda78b418257ae1f6b523e3e585e22d3

YHSanSheng commented 4 days ago

Even with VPN I'm redirected to msn.com (#180179 (comment)), maybe the same rules as for msn.com will work on msn.cn. Please add these rules to user rules:

msn.cn#%#//scriptlet('inject-css-in-shadow-dom', 'cs-native-ad-card-no-hover, display-ads, .display-ad-container, .display-ads-container, .views-right-rail-top-display, #entry-point-hp-wc-banner, .me-stripe-title-subtitle, #displayAdCard, a[href*=".booking.com/"], a[href^="https://amzn.to/"] { display: none !important; }')
msn.cn#%#//scriptlet('inject-css-in-shadow-dom', 'cs-native-ad-card { visibility: hidden !important; }')
msn.cn#%#//scriptlet('inject-css-in-shadow-dom', '#entry-point-hp-wc-header[style^="top:"] { top: 0 !important; }')
msn.cn#%#//scriptlet('inject-css-in-shadow-dom', '#entry-point-hp-wc-root-wrapper[style^="margin-top:"] { margin-top: 0 !important; }')
msn.cn#%#//scriptlet('json-prune', '*.*', 'adFeedbackData adType adServedUrls')

and then check if issue still occurs.

@AdamWr 大部分情况下是有效的,不过通过多次刷新依旧可能出现广告。 In most cases, it works, but ads may still appear after multiple refreshes. —————————————————————————————— 3 4 —————————————————————————————— 这些规则看起来过于复杂,我不知道应该如何继续优化。 These rules seem too complicated, and I don't know how to proceed with optimization. ——————————————————————————————

fluent-card style="grid-area:slot2" class="_1x_1y msft-content-native-ad-preview-wrapper"

AdamWr commented 4 days ago

Could you please check this rule:

msn.cn##.msft-content-native-ad-preview-wrapper

If it will not work, then please right click on this ad, choose Inspect and take a screenshot with ad element (similar like in https://github.com/AdguardTeam/AdguardFilters/issues/182779#issuecomment-2205441396).

YHSanSheng commented 4 days ago

Could you please check this rule:

msn.cn##.msft-content-native-ad-preview-wrapper

If it will not work, then please right click on this ad, choose Inspect and take a screenshot with ad element (similar like in #182779 (comment)).

@AdamWr 我也不确定是否生效,因为每一次刷新网页它都会变动 I'm not sure if it works, because it changes every time you refresh the page ———————————————————————————————— .msft-content-native-ad-preview-wrapper .latybch-wrapper .dkkpwjb-wrapper .dngigqv-wrapper ———————————————————————————————— 我尝试添加下面这条规则时,在Microsoft Edge(AdGuard 浏览器扩展)上这些广告都全部消失了,哪怕没有使用元素屏蔽。但是当我在其他浏览器(360极速浏览器+Adblock Plus)上测试时广告却依旧存在。所以我不确定这条规则是否具有通用性,这些广告似乎会根据浏览器和地区的不同产生变化。

When I tried to add the following rule, all of these ads disappeared on Microsoft Edge (the AdGuard browser extension), even without element blocking. However, when I tested it on other browsers (360 Extreme + Adblock Plus), the ads were still there. So I'm not sure if this rule is universal, and the ads seem to change depending on the browser and region. ————————————————————————————————— ||srtb.msn.cn/auction —————————————————————————————————

wolaikk commented 4 days ago

Could you please check this rule:

msn.cn##.msft-content-native-ad-preview-wrapper

If it will not work, then please right click on this ad, choose Inspect and take a screenshot with ad element (similar like in #182779 (comment)).

@AdamWr 我也不确定是否生效,因为每一次刷新网页它都会变动 I'm not sure if it works, because it changes every time you refresh the page ———————————————————————————————— .msft-content-native-ad-preview-wrapper .latybch-wrapper .dkkpwjb-wrapper .dngigqv-wrapper ———————————————————————————————— 我尝试添加下面这条规则时,在Microsoft Edge(AdGuard 浏览器扩展)上这些广告都全部消失了,哪怕没有使用元素屏蔽。但是当我在其他浏览器(360极速浏览器+Adblock Plus)上测试时广告却依旧存在。所以我不确定这条规则是否具有通用性,这些广告似乎会根据浏览器和地区的不同产生变化。

When I tried to add the following rule, all of these ads disappeared on Microsoft Edge (the AdGuard browser extension), even without element blocking. However, when I tested it on other browsers (360 Extreme + Adblock Plus), the ads were still there. So I'm not sure if this rule is universal, and the ads seem to change depending on the browser and region. ————————————————————————————————— ||srtb.msn.cn/auction —————————————————————————————————

360 ok 47a7d18c743f8593fae40cfa13ba5198

YHSanSheng commented 4 days ago

Could you please check this rule:

msn.cn##.msft-content-native-ad-preview-wrapper

If it will not work, then please right click on this ad, choose Inspect and take a screenshot with ad element (similar like in #182779 (comment)).

@AdamWr 最新进展:添加下面两条规则就可以拦截掉目前所有广告。 What's new: Add the following two rules to block all current ads. —————————————————————————— 这似乎比屏蔽元素更好。 This seems to be better than shielding the elements —————————————————————————— ||assets.msn.cn/content/v1/cms/api/amp/Document/ ||srtb.msn.cn/auction