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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -