-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Extension suddenly broke in Firefox #229
Comments
Welp, it suddenly started working again. Would still be interested in answers for my other questions though. |
I have the same issue. I type in |
for the benefit of anyone who sees this: just had the same thing happen here. |
while doing that indeed solves it, it is definetely not ideal |
I've tried debugging this when this happened to me. I think this is due to local storage going into an inconsistent state, where getting the Curiously, browsing the local storage in devtools shows the stored value to be just Removing the |
Is there a way to clean this |
@Diegovsky, it's pretty tedious, but this is how I did it:
It would be nice to see the root cause of this "corruption" identified though.. |
Hi all, I just released the v1.13.0 yesterday, I think this issue has been fixed in the new version. Please feel free to report if you encounter any bugs. |
I'm on v1.13.0, sending a search / selecting a search result had no effect, following @DCNick3's steps and clearing index-std-nightly (previously {}) fixed it. |
Same, here. It seems that the extension still regards the string "rs" as input and thus only provides matches for "docs.rs" crates because it matches on the |
I'll release Rust Search Extension v2.0 soon, this is a big version. |
Rust Search Extension v2.0 has been released. |
Sadly, there still is an issue in Firefox (v131.0.3). The extension works after installing it. I can make it work again by "reloading" the addon in the debug addons page of Firefox. |
Hi @yannbolliger, it works on my Firefox. Just confirming are you sure you upgraded to v2.0? |
Uninstall then reinstall the latest version should fix the problem. |
It's with v2.0.0 of the addon. I reinstalled it in the browser, I restarted the browser. As said, I can make it work again by "reloading" the addon in the debug addons page of Firefox. |
Similar experience. On Firefox latest (131.0.3, running extension version 2.0). Std docs work initially, but after restarting browser, std docs don't show in the search anymore. Turning the addon off and on again temporarily fixes it, although it comes back quickly (usually within 10 minutes for me) I have tried going into debug settings and wiped the entire storage data of the addon. (I have also already uninstalled and reinstalled a few times as well) >> I can also confirm that the omnibox on the search extension page continues to work normally despite the firefox search bar not working. Before: After: |
I found the possible reason why it stops working after restarting the browser. It's because I upgraded to Manifest V3, and I guess Firefox never automatically activates V3 extensions and don't allow persistence background script according to Manifest V3 migration guide. Firefox don't support service worker for V3 (which not a problem on Chrome): https://bugzilla.mozilla.org/show_bug.cgi?id=1573659 The quick fix is that after launching, you should click the extension icon on the toolbar to activate the extension. |
this works for me, but after about 2 minutes of browsing, search stops working again. I haven't timed it, but this happens consistently. |
Temporary solution: Install Version 1.13.0 from https://addons.mozilla.org/en-US/firefox/addon/rust-search-extension/versions And disable |
Another workaround I found: you can open devtools like in this instruction here and keep it open. Having devtools on the background script open will prevent it from going to sleep (you can see messages like "Background event page was not terminated on idle because a DevTools toolbox is attached to the extension.") |
2 years later the problem remains. Is Firefox just not fully supported any more? Firefox 133.0.3 |
I'm using Firefox 108.0.1 and the most recent version of the add-on, which is 1.9.1. The experience in Firefox with the add-on has always inferior to the experience in Chrome for me (search results sometimes not showing up properly, pressing Enter on a search result sometimes just leads you to a different page?, etc.), but generally it's been working fine. Since today it's not showing me any search results anymore though. When I type in the rs prefix, it's still showing me the rust search extension suggestion, but it doesn't seem to actually find the proper link:
Even actions that don't require any actual querying don't work:
(When I press enter on the highlighted suggestion, nothing happens)
I haven't changed any configuration/settings, and I don't think my Firefox had any updates. The search extension is also still working just fine in Chrome.
(Sidenote, but is it possible to set up the search extension as a Firefox search engine somehow, so that you can just press Tab after typing the rs prefix and then only get rust search results? It's doing that by default in Chrome for me, but not in Firefox)
The text was updated successfully, but these errors were encountered: