AdguardTeam / AdguardTeam/AdguardBrowserExtension

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

Offen
#3,129 0 Kommentare 0 Reaktionen 1 zugewiesene Person Zugewiesen an @maximtop Auf GitHub ansehen
Bug MV2 Priority: P3
Vorherrschende Sprache
TypeScript
Sterne
4.4k
Forks
449
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.