Search code examples
javascripthtmlpopupbrowser-pluginbrowser-extension

how to create a chrome extension to get the number of installed plug-ins on my browser?


how to create a chrome extension to get the number of installed plug-ins on my Browser? Hello Everybody, I wanna create a google chrome extension which gives me the total number of installed plug-ins on my browser. i am new in this developing field. where can i learn the advanced level javascript code to develop my skill. please help me. thanks in advance.


Solution

  • You can utilize navigator.plugins

    [].forEach.call(navigator.plugins, function(plugin,index) {
      console.log(index, plugin.name, plugin.filename, plugin.description)
    })