AdguardTeam / AdguardTeam/AdguardBrowserExtension

Improve Service Worker reactivation time

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

Descrizione

### Issue Details

When the browser suspends the Service Worker its reactivation takes an inordinately long time.
In this time frame, which in my opinion is about 10 sec, the filtering ability of the extension is non-existent.
It is possible to verify this by following this procedure:

1) Open only “edge (or name browser)://extensions/” so no other tabs open.
2) Wait for the Service Worker to become suspended.
3) Immediately open this website:

https://msfn.org/board/

that you had previously saved in your favorites bar and wait without doing anything for the warning at the bottom indicated by the red arrow in the image to filter out.

![1](https://github.com/user-attachments/assets/17deb16d-3d5e-468c-a015-283c842331cd)
![2](https://github.com/user-attachments/assets/5a681711-af49-40ca-871d-c4d653ab81be)

This procedure also highlights the lack of filtering when the browser is first opened

### Proposed solution

A shorter time for reactivation of suspended Service Worker from the browser

### Alternative solution

I did the same test with uBLock Origin Lite.
The problem does not appear to be present.

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.