Skip to content

Instantly share code, notes, and snippets.

@OsandaMalith
Last active August 29, 2015 14:22
Show Gist options
  • Save OsandaMalith/1362220ebeb8387ba838 to your computer and use it in GitHub Desktop.
Save OsandaMalith/1362220ebeb8387ba838 to your computer and use it in GitHub Desktop.
Displays all the installed browser plugin along with the file names. Tested on Chrome and Firefox.
// Paste this in the JS Console - Tested with Chrome and Firefox
for(i = 0; i < navigator.plugins.length; i++) console.log(navigator.plugins[i].name + ' :: ' + navigator.plugins[i].filename);
// Printing as HTML - works only with Chrome
for(i = 0; i < navigator.plugins.length; i++) document.write(navigator.plugins[i].name + ' :: ' + navigator.plugins[i].filename + '<br>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment