devtools-next icon indicating copy to clipboard operation
devtools-next copied to clipboard

Firefox addon still on version 6

Open itpropro opened this issue 1 year ago • 27 comments

I am not sure if you also maintain the firefox addon page (https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/), but the devtools are still at version 6.6.3 in the Mozilla Add-Ons directory. In the docs it says that "We'll launch on the Firefox App Store once v7.x is stable.", but 7 seems to be stable for a few months already. It would be great if you could update the Firefox AddOn, so that Firefox and Zen users can also get the best Vue experience.

itpropro avatar Oct 30 '24 20:10 itpropro

We just released v7 stable version on the Google Store, and when we stabilize it here, we'll update the Firefox extension to v7 simultaneously.

webfansplz avatar Oct 30 '24 21:10 webfansplz

We just released v7 stable version on the Google Store, and when we stabilize it here, we'll update the Firefox extension to v7 simultaneously.

Thanks for the quick reply, is there any roadmap or estimate for this? Just in terms of weeks or months.

itpropro avatar Oct 31 '24 20:10 itpropro

Is there really something blocking publishing v7 for Firefox? Or it just wasn't published yet?

segevfiner avatar Dec 17 '24 16:12 segevfiner

/cc @webfansplz Do we have any plans?

alexzhang1030 avatar Dec 20 '24 05:12 alexzhang1030

Could it be that v6 is not working with vue3? I don't see any components in Firefox...

Bergrebell avatar Jan 03 '25 12:01 Bergrebell

Do you have any updates or timeline for when v7 of the Vue dev tools will be released on Firefox?

mbtechtt avatar Jan 15 '25 19:01 mbtechtt

This is frustrating... Feels like this project stopped caring about Firefox at all 😢 (Or lost access to AMO...) There isn't even an out of store signed XPI to manually try v7, short of side loading in development mode...

segevfiner avatar Jan 21 '25 12:01 segevfiner

@alexzhang1030 @webfansplz maybe you mates need some help with Firefox support?

bezvoshchuk avatar Feb 03 '25 19:02 bezvoshchuk

@webfansplz Is there anything blocking this?

segevfiner avatar Feb 19 '25 22:02 segevfiner

I can report that the self built FF extension is working fine for me. Unfortunately, it is unnecessarily hard to self build, because of a faulty manifest.json. Instead of maintaining a fork, I've build myself a small script to build the latest version:

#!/bin/sh

cd packages/firefox-extension
git checkout manifest.json
cat manifest.json | jq --argjson browser_specific_settings '{"gecko": {"id": "[email protected]", "strict_min_version": "58.0"}}' '. + {browser_specific_settings: $browser_specific_settings}' > tmp.json
mv tmp.json manifest.json
zip -1 -r ../../vue-devtools.xpi * --exclude 'node_modules/*'
git checkout manifest.json

Place this in the repository root and run it to get a vue-devtools.xpi that you can install locally. Of course, updates are fully manual (pull latest code, rebuild, install in FF) this way.

So yeah, I would also appreciate a prebuilt official extension for FF very much.

ralph avatar Feb 20 '25 04:02 ralph

I would also like to see an update for firefox ☝ With Pinia's latest update it doesn't show up in the devtool anymore.

erikmode avatar Feb 20 '25 08:02 erikmode

Thanks for all your feedback. Devtools now supports Firefox extensions, and I will discuss the Firefox extension store ship plan with Evan.

webfansplz avatar Feb 20 '25 13:02 webfansplz

I can report that the self built FF extension is working fine for me. Unfortunately, it is unnecessarily hard to self build, because of a faulty manifest.json. Instead of maintaining a fork, I've build myself a small script to build the latest version:

#!/bin/sh

cd packages/firefox-extension
git checkout manifest.json
cat manifest.json | jq --argjson browser_specific_settings '{"gecko": {"id": "[email protected]", "strict_min_version": "58.0"}}' '. + {browser_specific_settings: $browser_specific_settings}' > tmp.json
mv tmp.json manifest.json
zip -1 -r ../../vue-devtools.xpi * --exclude 'node_modules/*'
git checkout manifest.json

Place this in the repository root and run it to get a vue-devtools.xpi that you can install locally. Of course, updates are fully manual (pull latest code, rebuild, install in FF) this way.

So yeah, I would also appreciate a prebuilt official extension for FF very much.

I also has to remove the "version_name" key from the manifest.json in order to install it successfully. But unfortunately, once I installed the extension, it didn't work (Vue.js not detected)...

Joulss avatar Mar 14 '25 12:03 Joulss

@Joulss I'm sorry it does not work for you. Did you try an official build of the extension for Chrome to make sure it's not your app setup?

App setup instructions are here: https://devtools.vuejs.org/guide/vite-plugin#usage

All I can say is Vue.js detection is working flawlessly for me across multiple (Vue 3) apps.

ralph avatar Mar 14 '25 21:03 ralph

Thanks for all your feedback. Devtools now supports Firefox extensions, and I will discuss the Firefox extension store ship plan with Evan.

Any news?

segevfiner avatar Apr 03 '25 11:04 segevfiner

Thanks for all your feedback. Devtools now supports Firefox extensions, and I will discuss the Firefox extension store ship plan with Evan.

@webfansplz Any news? When will the update be uploaded?

SerhiiKuzmenko avatar Apr 07 '25 11:04 SerhiiKuzmenko

For users who are blocked, you can try it out as a workaround, and we'll publish it to the Firefox store soon.

devtools-firefox.zip

webfansplz avatar Apr 30 '25 00:04 webfansplz

For users who are blocked, you can try it out as a workaround, and we'll publish it to the Firefox store soon.

devtools-firefox.zip

Image

I get this error when loading the file. Firefox 137.0.2 (aarch64) edit: Same on 138.0 (aarch64)

bperel avatar Apr 30 '25 06:04 bperel

I just checked this packaged extension, and the manifest needs the very same patches that I applied here: https://github.com/vuejs/devtools/issues/660#issuecomment-2670465344

Unzipping, fixing the manifest and re-zipping fixes it, otherwise, you will get the error message as posted by @bperel .

ralph avatar Apr 30 '25 07:04 ralph

I just checked this packaged extension, and the manifest needs the very same patches that I applied here: #660 (comment)

Unzipping, fixing the manifest and re-zipping fixes it, otherwise, you will get the error message as posted by @bperel .

Thanks! I adapted your script to apply the JSON patch to the ZIP:

TEMP_DIR=$(mktemp -d)
ZIP_PATH="$(pwd)/devtools-firefox.zip"
unzip -p "$ZIP_PATH" manifest.json | jq --argjson browser_specific_settings '{"gecko": {"id": "[email protected]", "strict_min_version": "58.0"}}' '. + {browser_specific_settings: $browser_specific_settings}' >"$TEMP_DIR/manifest.json"
cd "$TEMP_DIR"
zip -u "$ZIP_PATH" manifest.json
cd ..
rm -rf "$TEMP_DIR"

bperel avatar Apr 30 '25 09:04 bperel

For Windows users who didn’t understand the scripts — Here’s a ready-made manifest.json. Just replace the existing one in the downloaded archive with this file. Then go to about:debugging#/runtime/this-firefox and load the archive using "Load Temporary Add-on". At least for me, everything worked fine on Firefox version 138.0.

manifest.json

I also tried to write a PowerShell script, but unfortunately, I couldn’t get it to work. Maybe someone here with more experience can figure out what’s wrong — if it’s even needed at all.

$tempDir = New-Item -ItemType Directory -Path ([System.IO.Path]::GetTempPath() + [System.Guid]::NewGuid().ToString())
$zipPath = Join-Path (Get-Location) "devtools-firefox.zip"
$manifestJsonPath = Join-Path $tempDir "manifest.json"

# Извлечь manifest.json из ZIP
Add-Type -AssemblyName System.IO.Compression.FileSystem
[System.IO.Compression.ZipFile]::ExtractToDirectory($zipPath, $tempDir)

# Обновить manifest.json с помощью jq (нужно установить jq)
Get-Content "$manifestJsonPath" | jq --argjson browser_specific_settings '{"gecko": {"id": "[email protected]", "strict_min_version": "58.0"}}' '. + {browser_specific_settings: $browser_specific_settings}' | Set-Content "$manifestJsonPath"

# Обновить zip
Add-Type -AssemblyName System.IO.Compression.FileSystem
$zipArchive = [System.IO.Compression.ZipFile]::Open($zipPath, 'Update')
$entry = $zipArchive.GetEntry("manifest.json")
if ($entry) {
    $entry.Delete()
}
[System.IO.Compression.ZipFileExtensions]::CreateEntryFromFile($zipArchive, "$manifestJsonPath", "manifest.json")
$zipArchive.Dispose()

# Удалить временную папку
Remove-Item -Recurse -Force $tempDir

SWDevStudio avatar Apr 30 '25 10:04 SWDevStudio

For users who are blocked, you can try it out as a workaround, and we'll publish it to the Firefox store soon.

devtools-firefox.zip

@bperel @ralph @SWDevStudio Thanks for the feedback, I've updated the package, try it out.

webfansplz avatar Apr 30 '25 13:04 webfansplz

Thanks! I can confirm that the latest version provided by you installs flawlessly in my FF.

ralph avatar Apr 30 '25 13:04 ralph

Thanks for taking care of the Firefox plugin @webfansplz ! It’s important to have an alternative to Googles web monopoly.

itpropro avatar May 01 '25 05:05 itpropro

Thanks for all your feedback. Devtools now supports Firefox extensions, and I will discuss the Firefox extension store ship plan with Evan.感谢您的所有反馈。Devtools 现在支持 Firefox 扩展,我将与 Evan 讨论 Firefox 扩展商店的交付计划。

Any news? When will the update be uploaded? What can I help? Thank you.

zaeyee avatar May 09 '25 02:05 zaeyee

Still at version 6.6.3 on the Firefox store

bojardo avatar May 14 '25 07:05 bojardo

Guys, if you need any help with the extension to publish it to the store, please let us know — we're really looking forward to it :)

SWDevStudio avatar May 18 '25 19:05 SWDevStudio

Please take attention to Firefox devtools

AlexVapniaruk avatar May 23 '25 12:05 AlexVapniaruk

For users who are blocked, you can try it out as a workaround, and we'll publish it to the Firefox store soon.

devtools-firefox.zip

Any updated? ^_^

AlexVapniaruk avatar May 23 '25 12:05 AlexVapniaruk

Image

tulindulin avatar Jun 11 '25 11:06 tulindulin