Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctx.applyPatch #1102

Open
aklinker1 opened this issue Oct 22, 2024 · 0 comments
Open

ctx.applyPatch #1102

aklinker1 opened this issue Oct 22, 2024 · 0 comments
Labels
contribution welcome feature good first issue Want to contribute to WXT? This is a good place to start
Milestone

Comments

@aklinker1
Copy link
Collaborator

aklinker1 commented Oct 22, 2024

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

@aklinker1 aklinker1 added contribution welcome feature good first issue Want to contribute to WXT? This is a good place to start labels Oct 22, 2024
@aklinker1 aklinker1 added this to the v1.1 milestone Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution welcome feature good first issue Want to contribute to WXT? This is a good place to start
Projects
None yet
Development

No branches or pull requests

1 participant