AdguardTeam / AdguardTeam/AdguardBrowserExtension

`json-prune` in Firefox extension, but not in Chrome extension, can not prune internal objects

オープン
#3,129 コメント 0 件 リアクション 0 件 担当者 1 名 @maximtop に割り当て済み GitHub で見る
Bug MV2 Priority: P3
主要言語
TypeScript
スター
4.4k
フォーク
449
PR マージ指標
30日以内にマージされた PR はありません

説明

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

- [x] Filters were updated before reproducing an issue
- [x] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [x] I checked to make sure that this issue has not already been filed

### AdGuard Extension version

4.4.49

### Browser version

Firefox 135.0.1

### OS version

Windows 11

### Ad Blocking

AdGuard Base filter

### Privacy

_No response_

### Social

_No response_

### Annoyances

_No response_

### Security

_No response_

### Other

_No response_

### Language-specific

_No response_

### What Tracking protection options do you have enabled?

_No response_

### Issue Details

Steps to reproduce:
1. Add `m.youtube.com#%#//scriptlet('json-prune')` to User rules
2. Visit `https://m.youtube.com/watch?v=mmTmdMGbk_M`
3. Search console for `overlay` and see no match is shown. Also for `responseContext` and see it's empty.

### Expected Behavior

`json-prune` should be able to prune `overlay.bottomSheetOverlayRenderer`

### Actual Behavior

Not and `responseContext` is empty.

### Screenshots

Screenshot with Firefox

![Image](https://github.com/user-attachments/assets/fa68387e-3441-4c1c-a27c-9fee9ca07a76)

Screenshot with Chrome

![Image](https://github.com/user-attachments/assets/61917aae-d801-4fcc-8739-a53843000ead)

### Additional Information

Required to fix https://github.com/uBlockOrigin/uAssets/issues/20586#issuecomment-2695739357 IDK if this should be reported to https://github.com/AdguardTeam/Scriptlets/issues

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。