Skip to content

Instantly share code, notes, and snippets.

@timhodson
Last active December 30, 2015 03:29
Show Gist options
  • Save timhodson/7769400 to your computer and use it in GitHub Desktop.
Save timhodson/7769400 to your computer and use it in GitHub Desktop.
Javascript boomarklet to load jquery on any page which doesn't already have it.
javascript:if(!window.jQuery||confirm('Overwrite\x20current\x20version?\x20v'+jQuery.fn.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