AdguardTeam / AdguardTeam/AdguardForiOS

The advanced rules existing in only 3rd-party filter do not work

未关闭
#2,285 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bug Priority: P4 TechAudit Version: ADGuard v4.6 [Reserved]
主要语言
Swift
星标
1.7k
派生
240
PR 合并指标
30 天内没有已合并 PR

描述

### Prerequisites

Please answer the following questions for yourself before submitting an issue. **YOU MAY DELETE THE PREREQUISITES SECTION.**

- [X] I am running the latest version
- [X] I checked the documentation and found no answer
- [X] I checked to make sure that this issue has not already been filed

### Issue Details

- **AdGuard version:**
- 4.5.2
- **Device model and storage size:**
- iPhone SE2
- **Operating system and version:**
- iOS 17.2.1
- **Browser or App:**
- Safari

### Expected Behavior

The advanced rules existing in only 3rd-party filter does work well even if AdGuard Mobile Ads filter is disabled.

### Actual Behavior

The advanced rules existing in only 3rd-party filter does not work if AdGuard Mobile Ads filter is disabled.

### Screenshots

https://cdn.adguard.info/sitereports/kyiji75f1v4ock8g4w00skgw84g00k8sw94bj1p9a8.jpg?nc=1
https://cdn.adguard.info/sitereports/1zk2okjvxb6s40oc000ok844sgos0gc3t0p4eeu6ec.jpg?nc=1

### Additional Information

The following rules exist in List-KR filter and AdGuard Mobile Ads filter:
```adblock
m.fmkorea.com#%#//scriptlet('json-prune', 'tpl apply', 'tpl.[].c', '/fmkorea.com.[A-z]{8,}.js/')
m.fmkorea.com#$?#body[class*="mac_os"] div[class="hd"] ~ *[id][class*=" "]:matches-css(padding: /5px 10px 20px/):matches-css(height: /^[0-9]{2,3}/) { remove: true; }
m.fmkorea.com#$?#header[class="hd"] ~ .fmad_wrapper ~ *[class]:matches-css(padding: /5px 10px 20px/):matches-css(height: /^[0-9]{2,3}/) { remove: true; }
m.fmkorea.com#$?#body div:is(.bd, .hd) div[style] > *[class*=" "]:matches-css(padding: /5px 10px 20px/):matches-css(height: /^[0-9]{2,3}/) { remove: true; }
```

To reproduce the issue, you may to use a real Korean IP address.

Related issues:
https://github.com/AdguardTeam/AdguardFilters/issues/168573#issuecomment-1903975691
https://github.com/AdguardTeam/AdguardFilters/issues/168573#issuecomment-1903977416

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。