Skip to content

Instantly share code, notes, and snippets.

@csharpforevermore
Last active August 14, 2020 17:47
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 csharpforevermore/f738ca100ef2dec13a2815d91debbff5 to your computer and use it in GitHub Desktop.
Save csharpforevermore/f738ca100ef2dec13a2815d91debbff5 to your computer and use it in GitHub Desktop.
This is a jQuery snippet that, when used during a Pluralsight video, will output the Table of Contents text to the debugger console window. I recommend using it with a browser plugin or extension that injects JQuery into the current web page.
$('span.u-truncate').each(function(index){ console.log($(this).text()); })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment