javascript - chrome.management.getAll() not working -
im trying display list of installed extensions in popup.html. when browser action clicked, send request popup.js background.js, want collect list of installed extensions , return them popup displayed. in background.js im calling:
var extensionlist = chrome.management.getall();
which returns nothing, , have tried
chrome.management.getall(function(info) { alert(info.length); });
assuming "info" array of installed extensions. none of these working, point me in right direction?
thanks
Comments
Post a Comment