Skip to content

Instantly share code, notes, and snippets.

@TechplexEngineer
Created December 1, 2014 16:06
Show Gist options
  • Select an option

  • Save TechplexEngineer/1666755633ea4dcbd69c to your computer and use it in GitHub Desktop.

Select an option

Save TechplexEngineer/1666755633ea4dcbd69c to your computer and use it in GitHub Desktop.
Code to inject Jquery into a page via the console. From http://stackoverflow.com/questions/7474354/include-jquery-in-the-javascript-console
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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment