Skip to content

Instantly share code, notes, and snippets.

@rungix
Forked from denolfe/jqueryConsole.js
Created August 23, 2018 03:30
Show Gist options
  • Save rungix/5c5e5847f71e1b1cff4210e97e13af17 to your computer and use it in GitHub Desktop.
Save rungix/5c5e5847f71e1b1cff4210e97e13af17 to your computer and use it in GitHub Desktop.
Snippet to include jQuery in Chrome Dev Tools
var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// ... give time for script to load, then type.
//jQuery.noConflict();
setTimeout(function() {jQuery.noConflict(); console.log('jQuery loaded'); }, 10000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment