madhuhc
madhuhc

Reputation: 138

Detect another addon from my addon

I want to detect 1 addon which is already present or not.

May i know how can i detect from another addon ?

Or How to detect from the web page if the add on is present or not ?

Thanks, Madhu H C

Upvotes: 3

Views: 95

Answers (2)

Noitidart
Noitidart

Reputation: 37238

Located in the profile folder is a file called addons.json this one is updated live on what addons are there. (there is extensions.json but I dont think that updates until browser restart). I might be wrong it might be extensions.json is updated live and addons.json is updated on restart, please share your findings.

This is the path OS.Path.join(OS.Constants.Path.profileDir, 'addons.json')

Upvotes: -1

Related Questions