Skip to content

Instantly share code, notes, and snippets.

@wstam88
Forked from tad-lispy/inject-jquery.js
Created October 27, 2018 19:56
Show Gist options
  • Save wstam88/da07ad5c89f28d9e9348e2e8ed624252 to your computer and use it in GitHub Desktop.
Save wstam88/da07ad5c89f28d9e9348e2e8ed624252 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