Skip to content

Instantly share code, notes, and snippets.

@joshprice
Created October 3, 2009 01:49
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 joshprice/200340 to your computer and use it in GitHub Desktop.
Save joshprice/200340 to your computer and use it in GitHub Desktop.
jQuerify a webpage so you can interact with it using jQuery. Save as a bookmark with the contents as the URL. There's a Firebug plugin to do this, but this works in more browsers.
javascript:(function(){var%20j=document.createElement('script');j.setAttribute('type','text/javascript');j.setAttribute('src','http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js');document.body.appendChild(j);})();
@joshprice
Copy link
Author

This is actually a generic script injector bookmarklet. Just replace the jQuery URL with the URL of any Javascript you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment