Content script not injected until add-on popup menu is accessed
Categories
(Fenix :: WebExtensions, defect, P3)
Tracking
(firefox122 affected, firefox123 affected)
People
(Reporter: proginosko, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [qa-triaged])
Steps to reproduce:
Install LeechBlock add-on on Firefox (or Firefox Beta) for Android. Set up LeechBlock options to block a website (e.g., facebook.com) after 5 minutes use in every hour. Go to website. No countdown timer appears on the page. Now open the LeechBlock popup menu (via the Add-ons menu). Go back to website. Countdown timer now appears as expected.
Actual results:
LeechBlock's content script is not injected into the webpage until the popup menu is accessed.
Expected results:
LeechBlock's content script should be injected when the webpage is initially loaded. This is what happens in Firefox for desktop and is the expected behavior. Many add-ons will not work as expected if the content script is not loaded right away.
Comment 1•11 months ago
|
||
The severity field is not set for this bug.
:amejia, could you have a look please?
For more information, please visit BugBot documentation.
Comment 2•11 months ago
|
||
I was able to reproduce this issue on the latest builds: Nightly (123.0a1), Beta and RC (122).
The countdown timer is only displayed after opening and closing the LeechBlock add-on menu.
Device used: Samsung Galaxy S23 Ultra (Android 14).
Marking the ticket as NEW.
Updated•11 months ago
|
Updated•11 months ago
|
Comment 3•10 months ago
|
||
That's because this add-on uses MV3, which isn't well supported on Firefox for Android at the moment, see Bug 1812119.
Reporter | ||
Comment 4•10 months ago
|
||
(In reply to William Durand [:willdurand] from comment #3)
That's because this add-on uses MV3, which isn't well supported on Firefox for Android at the moment, see Bug 1812119.
Yes, I know. I submitted the bug report in the hope that it would become better supported. :)
The dilemma for developers like me is that add-ons for desktop are being pushed towards supporting MV3, while add-ons for Android are being encouraged to hold back. But I don't want to have to develop two different add-ons, one for desktop and one for Android, especially when the one add-on worked fine on both platforms until the advent of MV3. Certainly it's not feasible for me to spin off a separate MV2 add-on for Android at this stage, given the established user base.
Updated•10 months ago
|
Reporter | ||
Comment 5•8 months ago
|
||
What's the latest on this? I have LeechBlock users asking about this regularly.
Comment 6•8 months ago
|
||
Bug 1889402 should kinda fix this issue.
Comment 7•7 months ago
|
||
Hey :proginosko, could you please verify in latest Nightly?
Reporter | ||
Comment 8•6 months ago
|
||
(In reply to William Durand [:willdurand] from comment #7)
Hey :proginosko, could you please verify in latest Nightly?
Yes, it works in Nightly v128.0a1. Excellent news! Thank you.
Comment 9•6 months ago
|
||
Fixed by Bug 1889402.
Description
•