wxt-dev/wxt

`ctx.applyPatch`

Open

#1102 aperta il 22 ott 2024

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)TypeScript (511 fork)user submission
contribution welcomegood first issue

Metriche repository

Star
 (9861 star)
Metriche merge PR
 (Merge medio 11g 22h) (51 PR mergiate in 30 g)

Descrizione

Feature Request

Add a function that automatically patches all window functions in content scripts so any async callbacks are removed when context is invalidated.

Alternative is to pass the context around and call functions off that which can get quite annoying.

Is your feature request related to a bug?

N/A

Additional context

https://discord.com/channels/1212416027611365476/1297819470655520788/1297819470655520788

Guida contributor