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 摘要。