Reputation: 138
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
Reputation: 529
You should look at this page: https://developer.mozilla.org/en-US/Add-ons/Add-on_Manager/AddonManager
Upvotes: 4
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