Skip to content

Instantly share code, notes, and snippets.

@drealecs
Created April 3, 2022 04:40
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 drealecs/10316474619812b56307586008247193 to your computer and use it in GitHub Desktop.
Save drealecs/10316474619812b56307586008247193 to your computer and use it in GitHub Desktop.
script that can be configured as bookmark in the browser to easily inject jQuery in any page
javascript:(function(s){e=document.createElement('script');e.src=s;e.onload=function(){$jq=jQuery.noConflict(true);console.log('jQuery injected as $jq: ' + $jq.fn.jquery)};document.head.appendChild(e)})('//code.jquery.com/jquery-git.min.js')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment