Skip to content

Instantly share code, notes, and snippets.

@dcai
Last active September 28, 2017 13:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcai/1a4675d26be0d4ccd12382ce07965157 to your computer and use it in GitHub Desktop.
Save dcai/1a4675d26be0d4ccd12382ce07965157 to your computer and use it in GitHub Desktop.
Load jQuery and Underscore in chrome console
(w => {
const js = w.document.createElement('script');
js.setAttribute("src", '//cdn.jsdelivr.net/g/jquery@3.1.1,underscorejs@1.8.3');
w.document.head.appendChild(js);
return 'Loaded Javascript Libraries';
})(window);
(w => {
const js = w.document.createElement('script');
js.setAttribute("src", '//cdn.jsdelivr.net/g/lodash@4(lodash.min.js+lodash.fp.min.js)');
w.document.head.appendChild(js);
return 'Loaded Javascript Libraries';
})(window);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment