Im trying to display a list of all installed extensions in my popup.html. When the browser action is clicked, i send a request from popup.js to my background.js, where i want to collect the list of all installed extensions and return them to the popup to be displayed. In my background.js im calling:
var extensionList = chrome.management.getAll();
which returns nothing, and have also tried
chrome.management.getAll(function(info) {
alert(info.length);
});
assuming "info" is the array of installed extensions. None of these are working, could anybody point me in the right direction?
Thanks