Load jQuery on Any Page

I found this little snippet of code, simply stick it in your address bar and it will create a script element that loads jQuery from Google, so you can use jQuery calls from console.

javascript:void((function(){j=document.createElement("SCRIPT");j.src="http://code.jquery.com/jquery-latest.pack.js";document.getElementsByTagName("HEAD")[0].appendChild(j);})())
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter

Comment | Trackback


Code

2 Responses to “Load jQuery on Any Page”

  1. Chris Olstrom Says:

    November 28th, 2009 at 10:55 pm

    For even more fun, add something like this to a GreaseMonkey script.

  2. Frank Says:

    November 29th, 2009 at 8:26 am

    Couldn’t agree more.

Leave a Reply