Skip to content

Instantly share code, notes, and snippets.

@codescribblr
Created January 30, 2015 18:42
Show Gist options
  • Select an option

  • Save codescribblr/c3922f62dba2bffaf34b to your computer and use it in GitHub Desktop.

Select an option

Save codescribblr/c3922f62dba2bffaf34b to your computer and use it in GitHub Desktop.
From http://stackoverflow.com/questions/7474354/include-jquery-in-the-javascript-console This allows you to use jquery in the chrome console for websites that don't have jquery.
var jq = document.createElement('script');
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment