AdguardTeam / AdguardTeam/AdguardForAndroid

`jsonprune` rules do not apply to the Reddit app on the rooted device

未关闭
#4,588 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bug Priority: P4 TechAudit
主要语言
没有语言数据
星标
1.9k
派生
121
PR 合并指标
30 天内没有已合并 PR

描述

### Please answer the following questions for yourself before submitting an issue.

- [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

### AdGuard version

4.0 n88

### Environment

```markdown
- OS: Anroid 11
- Device: Poco F1
```

### Root access

- [X] Yes, I have it.

### What filters do you have enabled?

AdGuard Base filter, AdGuard Mobile Ads filter, AdGuard Russian filter, AdGuard Tracking Protection filter, AdGuard URL Tracking filter, AdGuard Social Media filter, AdGuard Annoyances filter

### What Stealth Mode options do you have enabled?

_No response_

### Issue Details

Rule that might remove any posts - steps to reproduce (this is a quick test without using a VPN):
1. You need a device with Root access - proxy mode
2. Add the rule
```adblock
||gql.reddit.com^$jsonprune=\$.data.postFeed.elements.edges
```
3. Install the Reddit app, open it and log in under an account
4. Scroll down the feed.

Rule that might remove `promoted` posts - steps to reproduce:
1. You need a device with Root access - proxy mode
2. Add the rule
```adblock
||gql.reddit.com^$jsonprune=\$.data.postFeed.elements.edges[?(key-eq "\$.node.__typename" "AdPost")]
```
3. Open AdGuard VPN - connect to a USA server
4. Install the Reddit app, open it and log in under an account
5. Scroll down the feed.

### Expected Behavior

For rule that should remove any posts - there are no posts or you'll see an error.

For rule that should remove `promoted` posts - there are no promoted posts.

### Actual Behavior

If you test the first rule - posts loads fine.
If you test the second rule, you'll see the promoted posts.

----

So, both rules don't apply to the app, they don't display in the filtering log.
Adding or removing `$xmlhttprequest` modifier does not matter.

### Screenshots

_No response_

### Additional Information

_No response_

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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