AdguardTeam / AdguardTeam/AdguardBrowserExtension

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

Aperta
#3,129 0 commenti 0 reazioni 1 assegnatario Assegnata a @maximtop Vedi su GitHub
Bug MV2 Priority: P3
Lingua principale
TypeScript
Stelle
4.4k
Fork
449
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.