You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I just released my rewrite as MV3 extension and the permissions are weird... Probably more secure, but less user friendly, for sure. I'm not supporting Android, so that's not a problem for me.
I'm gonna close this issue for now so I don't have to keep looking at it.
@yunsii Can you add this log to your project? Inside node_modules/wxt/dist/cli.js, do a ctrl+F for "Dev mode does not support Firefox MV3" and add this log before the if statement:
Nice, glad to hear! If someone wants to queue up a PR for this change (removing the if statement below), we can merge it once the fix is released to normal firefox.
'Dev mode does not support Firefox MV3. For alternatives, see https://github.com/wxt-dev/wxt/issues/230#issuecomment-1806881653',
);
}
edit: sorry, I think I'm still gonna mark this issue as not-planned, even though all the requirements to technically do this, Firefox MV3 is a bad UX for extension users. I'd like to keep WXT on MV2 for now. We can track adding MV3 dev mode support in #1626
Granting permissions on install. Specifically, granting content scripts access to the web page.
Sometimes Firefox just forgets to ask whether or not it can load a content script on a page and you have to go to the extension settings to manually enable it for all host permissions.
Normal users find that very unintuitive.
This differs from manifest V2, because it asks for all permissions on install, including host permissions for content scripts to run.
Reacted by Anthony Ciccarello, Alexander Kachkaev and Eli
Ah, I did have someone run into that problem recently. I didn't realize that was firefox issue that it didn't ask. I was going to look into explicitly checking permissions in the extension. Thanks for explaining.
Activity
aklinker1 commentedon Nov 11, 2023
Firefox MV3 dev mode (
wxt -b firefox --mv3) does not work, see https://bugzilla.mozilla.org/show_bug.cgi?id=1864284 for more details. You have a two options:--mv2, the default, instead when developing against firefoxwxt -b firefox --mv2wxt build -b firefox --mv3, and load the extension manually into Firefox to test it[-]Update default manifest version for Firefox to 3[/-][+]Update default manifest version for Firefox to v3[/+][-]Update default manifest version for Firefox to v3[/-][+]Default Firefox to MV3[/+]nnx0r commentedon Jan 18, 2024
I have released my extension on Firefox add-ons for Desktop and Android as MV3.
Instantly regretted it.
Leaving this as a note. Firefox is not ready, maybe in a few years.
aklinker1 commentedon Jan 19, 2024
Yeah, I just released my rewrite as MV3 extension and the permissions are weird... Probably more secure, but less user friendly, for sure. I'm not supporting Android, so that's not a problem for me.
I'm gonna close this issue for now so I don't have to keep looking at it.
yunsii commentedon Feb 20, 2024
But https://wxt.dev/guide/multiple-browsers.html and development console have no information about this 😂 I spend so many time to debug why firefox add-on with mv3 not work...
aklinker1 commentedon Feb 20, 2024
WXT should exit with an error message when you try and run
wxt -b firefox --mv3yunsii commentedon Feb 21, 2024
Really? Why I do not encounter any error message?

aklinker1 commentedon Feb 21, 2024
Huh 😖
aklinker1 commentedon Feb 21, 2024
@yunsii Can you add this log to your project? Inside
node_modules/wxt/dist/cli.js, do actrl+Ffor "Dev mode does not support Firefox MV3" and add this log before the if statement:Then re-run the command that's failing and let me know what is logged?
yunsii commentedon Feb 22, 2024
@aklinker1 It seems a bug with WSL?

wxt/src/core/runners/wsl.ts
Lines 8 to 22 in 86b7162
And why exit with an error message at beginning of
devcommand?aklinker1 commentedon Feb 22, 2024
@yunsii This is intentional.
web-extdoesn't work well in WSL: mozilla/web-ext#2108 (comment)yunsii commentedon Feb 22, 2024
@aklinker1 So how about exit with an error message at start of
devcommand?12 remaining items
aklinker1 commentedon Feb 11, 2026
Nice, glad to hear! If someone wants to queue up a PR for this change (removing the if statement below), we can merge it once the fix is released to normal firefox.wxt/packages/wxt/src/core/runners/web-ext.ts
Lines 20 to 27 in 3417bd3
edit: sorry, I think I'm still gonna mark this issue as not-planned, even though all the requirements to technically do this, Firefox MV3 is a bad UX for extension users. I'd like to keep WXT on MV2 for now. We can track adding MV3 dev mode support in #1626
aciccarello commentedon Feb 12, 2026
@aklinker1 Could you clarify/point to what you mean by Firefox mv3 is bad UX? What should developers be looking out for?
aklinker1 commentedon Feb 12, 2026
Granting permissions on install. Specifically, granting content scripts access to the web page.
Sometimes Firefox just forgets to ask whether or not it can load a content script on a page and you have to go to the extension settings to manually enable it for all host permissions.
Normal users find that very unintuitive.
This differs from manifest V2, because it asks for all permissions on install, including host permissions for content scripts to run.
aciccarello commentedon Feb 12, 2026
Ah, I did have someone run into that problem recently. I didn't realize that was firefox issue that it didn't ask. I was going to look into explicitly checking permissions in the extension. Thanks for explaining.
mengxi-ream commentedon Feb 24, 2026
seems firefox support allowing connecting to local dev servers. Will we gonna have better experience? https://bugzilla.mozilla.org/show_bug.cgi?id=1864284
feat(firefox): switch Firefox build target from MV2 to MV3
feat(firefox): target MV3 with gecko id and AMO data_collection_permi…
fix(firefox): use MV2 for all Firefox builds per WXT recommendation
aklinker1 commentedon Jul 26, 2026
I'm gonna close this, I don't think we'll switch the default in the foreseeable future. We can reopen if something changes in the future.