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

Prevent browser tabs from auto-reloading on manual extension load or code changes #975

Open
arnab710 opened this issue Sep 11, 2024 · 0 comments
Labels

Comments

@arnab710
Copy link

Feature Request

My content script runs across <all_urls>. Currently, when I manually load my extension or update the content or background scripts, all open browser tabs automatically reload. This wasn’t an issue with the Plasmo framework.

Is your feature request related to a bug?

N/A

What are the alternatives?

A more flexible approach would be to reload only the currently active tab, rather than refreshing all tabs. If a developer needs to reload other tabs, they can manually do so as needed.

Additional context

I recently migrated my extension from Plasmo to WXT. Plasmo didn't have this reload issue. While I had an important process running in another tab, manually loading my extension caused every tab to refresh, and the ongoing process was lost. It would be helpful if we could prevent automatic reloading for all tabs. Amazing framework, by the way! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant