Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get add-on id of extensions in Firefox

I want to open extensions in browser tab as a normal html page so that I can automate it using selenium WebDriver. In firefox this can be done using link like this - moz-extension://f1b30486-cd88-4319-bbb5-d5e387103414/popup.html.

enter image description here

But the problem is that I am not finding a way in Firefox by which I can locate the id for all extensions**. The id used above is obtained when the extension is installed and a page with url moz-extension://f1b30486-cd88-4319-bbb5-d5e387103414/congratulations.html is loaded like a welcome page.

Is there any way in Firefox to get the add-on id or get urls like above for all extensions.

like image 999
Sighil Avatar asked Jan 02 '18 06:01

Sighil


People also ask

How do I find my Firefox addon ID?

Open about:memory . Click "measure" in Show memory reports. In the Main Process section, scroll down to Other Measurements. There you will find the installed (active) extensions with their names and their ids displayed as baseURL=moz-extension://[random-ids].

How do you see all Add-ons in Firefox?

, click Add-ons and Themes and select Extensions. You can also type “about:addons” in the address bar of a new tab to access the Add-ons Manager.

Where are Add-ons stored in Firefox?

Most add-on data is stored in a folder in the Firefox user profile. However, some information is stored in the profile folder also. It's possible that there is a problem with the file(s) that store the extensions registry. Type about:support in the address bar and press enter.


1 Answers

Open about:memory. Click "measure" in Show memory reports. In the Main Process section, scroll down to Other Measurements. There you will find the installed (active) extensions with their names and their ids displayed as baseURL=moz-extension://[random-ids].

This method works for both Firefox and Firefox for Android. Note that only enabled extensions are shown.

like image 108
alexis Avatar answered Oct 26 '22 18:10

alexis