Unstable Firefox dev server

28 Replies
lab
lab16mo ago
hmm... Ididn't add anything that refresh it that much :d....
Avi
Avi16mo ago
FYI, it doesn't matter if I load firefox-mv3-dev via web-ext or onto Firefox directly as a temporary addon
lab
lab16mo ago
This issue... I'm not sure what' causing it lol xD in what condition does it happen?
Avi
Avi16mo ago
I run
plasmo dev --target=firefox-mv3 --verbose
plasmo dev --target=firefox-mv3 --verbose
I load Firefox, load a temp addon, go to about:addons and make sure that the ext has the permission to run on https://www.youtube.com When I toggle on the host permission, the background script goes crazy
lab
lab16mo ago
hmmm when you toggle host permission, what does ff do? does it like.. inject the script at that time?
Avi
Avi16mo ago
This No
lab
lab16mo ago
what do you mean by toggle host permission btw
Avi
Avi16mo ago
Avi
Avi16mo ago
Initially, the bottom toggle is off No idea why
lab
lab16mo ago
hmmm optional permission :d.... that's a MV2 quirk what if you just move that host_perm over to the mv3 format?
Avi
Avi16mo ago
I mean, in the prod manifest it should look like
{
"host_permissions": ["https://www.youtube.com/*"]
}
{
"host_permissions": ["https://www.youtube.com/*"]
}
lab
lab16mo ago
yeah it should right :d
Avi
Avi16mo ago
Though in this specific ext I don't actually send any requests to YouTube but only need it in the content script
lab
lab16mo ago
it only occurs when you toggle that permission on/off right? Is there like any need for it at all :d
Avi
Avi16mo ago
Yeah I think so
Want results from more Discord servers?
Add your server