wxt-dev/wxt

`ctx.applyPatch`

Open

#1,102 创建于 2024年10月22日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)TypeScript (511 fork)user submission
contribution welcomegood first issue

仓库指标

Star
 (9,861 star)
PR 合并指标
 (平均合并 11天 22小时) (30 天内合并 51 个 PR)

描述

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

贡献者指南