Skip to content

Instantly share code, notes, and snippets.

@kopa
Created July 23, 2012 08:29
Show Gist options
  • Save kopa/3162611 to your computer and use it in GitHub Desktop.
Save kopa/3162611 to your computer and use it in GitHub Desktop.
Inject jQuery to current site in javascript debug shell
document.getElementsByTagName("head")[0].appendChild(
function(){
var script = document.createElement("script");
script.type="text/javascript";
script.src="http://code.jquery.com/jquery-1.7.2.js";
return script;
}()
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment