Skip to content

Instantly share code, notes, and snippets.

@marcelweder
Created August 26, 2016 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelweder/1a407e6f6595632bbec65d282147bcbb to your computer and use it in GitHub Desktop.
Save marcelweder/1a407e6f6595632bbec65d282147bcbb to your computer and use it in GitHub Desktop.
inject-jquery.js
var element = document.createElement("script");
element.src = "https://code.jquery.com/jquery-1.11.1.min.js";
element.integrity = "sha256-VAvG3sHdS5LqTT+5A/aeq/bZGa/Uj04xKxY8KM/w9EE=";
element.crossorigin = "anonymous";
document.body.appendChild(element);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment