I was working on detection of adblock plugin on a web browser and i noticed that
navigator.plugins
returns an array of PluginArray
object with a list of plugins installed.
Java Applet Plug-in
Shockwave Flash
Picasa
QuickTime Plug-in
But unexpectedly it does not return all plugins, plugins such as "User Agent Switcher" and "Adblock" were not listed (contrary to what is stated in https://developer.mozilla.org/en-US/docs/Web/API/NavigatorPlugins.plugins).
Why does it not display all plugins (am i missing something) or how do i display all plugins?