Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save csharpforevermore/6114441 to your computer and use it in GitHub Desktop.
Save csharpforevermore/6114441 to your computer and use it in GitHub Desktop.
In those cases where you want to use jQuery on a site, to which you possibly do not have the source code. Source: http://stackoverflow.com/questions/7474354/include-jquery-in-the-javascript-console
var jq = document.createElement('script');
jq.src = "http://code.jquery.com/jquery-latest.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
jQuery.noConflict();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment