Using the Snippets tab in the source devtool you can define and run arbitrary pieces of code in your browser against whatever website you’re looking at. This is a great way to store commonly used pieces of code that you rely on for debugging or customization.
You can add any code snippet to the dev tool and click 'cun', it will run it automatically. This is usefully when you have to repeat the same process again and again.