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

Always run initialization code on browser start #295

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ian-h-chamberlain
Copy link

This might fix or at least help with #229, #182

This seems to work more consistently than the existing code in Firefox. Particularly, I could generally reproduce the extension not working (v2.0.0) if I simply quit and restart Firefox Dev multiple times.

With this change, the extension loads on every browser startup, which seems like the desired behavior, and also should be reinitialized on upgrades.

It might also be worth considering using this background.scripts manifest instead of a custom page, but that would require changes to core/manifest_v3.libsonnet and doesn't seem to be necessary for these changes to help.

This seems to work more consistently than the existing code in Firefox.
Particularly, I could generally reproduce the extension not working if I quit
and restart Firefox Dev multiple times.

With this change, the extension loads on every browser startup, which
seems like the desired behavior, and also should be reinitialized on
upgrades.
Copy link

vercel bot commented Dec 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rust-search-extension ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 8:49pm

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

Successfully merging this pull request may close these issues.

1 participant