wxt-dev/wxt

`ctx.applyPatch`

オープン

#1,102 opened on 2024/10/22

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (511 件のフォーク)user submission
contribution welcomegood first issue

Repository metrics

Stars
 (9,861 個のスター)
PR merge metrics
 (平均マージ 11d 22h) (30d で 51 merged PRs)

説明

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

コントリビューターガイド