Include jQuery in the JavaScript Console

To include jQuery in the JavaScript Console in Google Chrome all you have to do is run the following ‘single' (not really single but it's put made into a single line) easy to copy and paste line. The line below will include the latest (as of this writing) 3.1.0 jQuery for you to use in the console:

var script = document.createElement('script');script.src = "";document.getElementsByTagName('head')[0].appendChild(script);

That's it! Just copy and paste that into your Chrome dev console (JavaScript Console) and you'll be able to use “$(‘#id')” and “jQuery(‘#id')” and more straight from the console!