DevTools Snippets

A collection of helpful snippets to use inside of browser devtools

View Or Contribute On Github

Instructions: The snippets can be used in any browser console. Chrome provides a 'snippets' feature that can be used to manage the scripts, while Firefox has a 'scratchpad' feature that lets you run, edit, and save chunks of JavaScript.

View the devtools-snippets project page. For more information about using them in your favorite browser, check out the README. Here is an article about snippets detailing why you might use them and additional features that would be nice.

Have a snippet you'd like to share with the world? Contributing is easy, there is a guide explaining more.