Skip to content

Instantly share code, notes, and snippets.

@mightyhorst
Forked from tad-lispy/inject-jquery.js
Created March 15, 2018 00:40
Show Gist options
  • Save mightyhorst/26a2b3f2b2423b5b322496a0910b8b16 to your computer and use it in GitHub Desktop.
Save mightyhorst/26a2b3f2b2423b5b322496a0910b8b16 to your computer and use it in GitHub Desktop.
Inject jQuery into webpage via console (oneliner)
document.getElementsByTagName('head')[0].appendChild(document.createElement('script')).src = '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment