Skip to content

Instantly share code, notes, and snippets.

@mkdizajn
Created May 21, 2013 18:11
Show Gist options
  • Save mkdizajn/5621965 to your computer and use it in GitHub Desktop.
Save mkdizajn/5621965 to your computer and use it in GitHub Desktop.
chrome inspector -- test if jquery loaded and if not pull it in the head
javascript:if(!window.jQuery)(function(d,s){s=d.createElement('script');s.src='https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.js';(d.head||d.documentElement).appendChild(s)})(document);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment