Skip to content

revolunet/devtools-snippets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devtools-snippets

A collection of helpful snippets to use inside of browser devtools.

View them all on a single page: http://bgrins.github.io/devtools-snippets/ or all of them inside of github. I have a more long winded article about snippets detailing why you might use them and additional features that would be nice, if you are interested.

If you have a useful snippet or updates to an existing one that you'd like to share, please contribute it or open an issue! Feel free to use, modify, or share any of these snippets.

To Enable DevTools Snippets in Chrome

Note: snippets are enabled by default in Chrome Canary and will be usable without changing your settings soon. You can read more about snippets at the Chrome developer tools documentation.

  • Open Chrome.
  • Navigate to chrome://flags -> Enable Developer Tools experiments.
  • Open Devtools -> Settings -> Developer Tools Experiments -> Enable "Snippets support".
  • Close and reopen devtools.
  • Open "Sources" panel.
  • Go to "Snippets" tab, and add whichever ones you want.

Chrome Flags

Chrome Enable Snippets

Chrome Snippets

To Use DevTools Snippets in Firefox Scratchpad

Note: you can read more about scratchpad at the Firefox developers tools documentation.

  • Open Firefox.
  • Go to Tools > Web Developer > Scratchpad.
  • Copy/paste and Cmd-R / Ctrl-R to run.
  • File > Save, then File > Open Recent to reuse them.

Firefox Scratchpad

The Snippets

View all on a single page with code: http://bgrins.github.io/devtools-snippets/

About

A collection of helpful snippets to use inside of browser devtools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.6%
  • CSS 22.7%
  • Ruby 5.7%