Add instructions on finding the ID of an existing extension#2237
Conversation
|
|
||
| See [`browser_specific_settings` in manifest.json](https://developer.mozilla.org/Add-ons/WebExtensions/manifest.json/browser_specific_settings) for the syntax of setting the extension ID. | ||
|
|
||
| To find the ID for an extension that has already been published, install your existing extension from AMO, visit `about:debugging` and look at the `Extension ID` field of your extension. |
There was a problem hiding this comment.
| To find the ID for an extension that has already been published, install your existing extension from AMO, visit `about:debugging` and look at the `Extension ID` field of your extension. | |
| To find a published extension's ID, install the extension from AMO, visit `about:debugging`, and check the **Extension ID** field. |
|
There must be a better way to view the ID on AMO, and not naving to reside to a personal website or installing the add-on. Can we start exposing this on the AMO listing page? Maybe we can also have a dedicated section on this page, rather than repeating the same information several times. That section could also include to open the manifest file and inspect |
|
@uncenter Yes, in this specific case UUID and Add-on ID are the same. Sometimes we also call it GUID. It's confusing, I know. To add even more to that, Firefox also has an install-specific UUID that is exposed on about:debugging. We should probably rename that field in devhub to "Add-on ID", as that is the term we are using publicly. @Rob--W could you file an issue on https://github.com/mozilla/addons/ to ask that we show the add-on ID in the "More information" section on the listing page? @uncenter raises a good point. Developers generally know how to look up their ID or at least can access it through that devhub field. This documentation might be used by users or developers who don't own the particular add-on they want to look up the ID for, for example to find the listing page, or to report it to Mozilla. |
Done: mozilla/addons#16011 I will wait a little bit with updating this PR, say 1-2 weeks, to see if the feature request can be addressed quickly. If so, then the instruction on getting the ID would be much better than "install the extension". I don't really want to recommend installing the extension to know the extension ID if possible. While it may be acceptable for self-developed extensions, it is a bad practice for arbitrary third-party extensions. |
|
@Rob--W the other change doesn't seem to be progressing, do you want to merge this? |
|
Fwiw, I'd agree with Rob that it'd be good to avoid asking users to install random add-ons for this purpose, if we can. The issue received guidance from UX recently, which is a good sign. It looks to me that at least the MVP would be a trivial change. It is assigned and has a higher-than-normal priority, so I believe we should be able to get to that in the next couple of weeks. |
|
Thanks @wagnerand-moz I'll leave as is for the moment then. |
|
@Rob--W @rebloor The ID can be copied from the listing page now (mozilla/addons#16011). Do we want to update or close this PR? |
|
@Rob--W unless you get there before me, I'll look at updating this in the next couple of days |
Updated instructions for finding the ID of a published extension.
Co-authored-by: rebloor <git@sherpa.co.nz>
|
@Rob--W @wagnerand-moz I've made the update here. Looks like I can merge. But I'll wait for your confirmation |

This PR adds instructions on finding the ID of an existing extension.
Note that the instructions include "install" as part of the workflow. This is acceptable for workflows where one wants to update their own extension. I can imagine scenarios where one does not want or cannot install the previous version of the extension. In that case, they could visit https://robwu.nl/crxviewer/ , specify the URL of the extension (or select the xpi file in the file chooser), then click on
manifest.jsonin the sidebar, then click on theShow analysisbutton to reveal theExtension IDfield.It also fixes a few minor issues:
]instead of)to close[...](...)However,from a sentence that did not describe an opposing statement.