Skip to content

Instantly share code, notes, and snippets.

@pierrehenri220
Last active April 5, 2019 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pierrehenri220/8904b382a623a1afcf6d4780f6bed662 to your computer and use it in GitHub Desktop.
Save pierrehenri220/8904b382a623a1afcf6d4780f6bed662 to your computer and use it in GitHub Desktop.
List Wordpress plugins used. Open the plugin page and copy-paste the snippet on your browser developer tools
var html = [];
jQuery( 'tr.active:not(.plugin-update-tr)' ).each(function() {
html.push([
'-'
, jQuery( this ).find( 'td.plugin-title > strong' ).html()
, jQuery( this ).find( '.plugin-version-author-uri' ).text().split( '|' )[ 0 ]
].join(' '));
});
console.log( html.join( "\n" ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment