0

More jQuery Goodness – Insert jQuery Bookmarklet

Posted December 17th, 2007. Filed under Code

I forget where I originally saw this but I found this bookmarklet I had saved a while ago that allows you to ‘insert’ jQuery in any page you are visiting. Using Firebug you can then use jQuery on that page. Useful? Who cares! It’s cool!

For geeky jQuery fun:

  1. Open Firefox
  2. Visit this URL: http://simonwillison.net/2007/Aug/15/jquery/ (this is a great writeup on jQuery BTW)
  3. Search for “Insert jQuery bookmarklet” grab that link and drag-n-drop it to your Firefox bookmark toolbar
  4. Visit a page
  5. Open Firebug > Click ‘Console’
  6. Click the “Insert jQuery” button in your bookmark toolbar
  7. Now you can issue jQuery commands within the Firebug console…
  8. For example: $(‘img’).hide()
  9. Click “Run”
  10. Images gone!

This is great for experimenting with jQuery!

Possibly Related:

If you have enjoyed this entry. Please feel free to bookmark it using your favorite social bookmarking site

Leave a Comment