Adding JQuery to Chrome Developer Tools

JQuery by default is not included in the Chrome Developer Tools.

The below snippet adds the latest version of jQuery to the Chrome Developer Tools.

1. Click F12 to open Chrome Developer Tools
2. Paste the below snippet to add jQuery

javascript:(function(e,s){e.src=s;e.onload=function(){jQuery.noConflict();console.log('jQuery added')};document.head.appendChild(e);})(document.createElement('script'),'//');

3. Write the code jQuery(‘body’) to test jQuery.
4. It all works.

Add a Comment

Your email address will not be published. Required fields are marked *

To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image