Hacking CNN with jQuery
January 29th, 2007I have been reading Pro Javascript Techniques by John Resig. It is an excellent book. I have also started reading his blog. He recently posted Hacking Digg with Firebug and jQuery. I did not know about a couple of things that he covers. First, I did not realize a bookmarklet in Firefox could load a remote script library. Second, I did not realize that Firebug could do all of that. You have to watch his video.
Now that I am equipped with those techniques, I decided to try it out on CNN.com. The following bookmarklet prompts you for a new headline and then changes it for you with a nice fade in effect. This is all due to the features in jQuery which comes in at 20k. It is really a very impressive Javascript library.
CNN Headline Changer (save as bookmarklet)

July 16th, 2007 at 11:30 pm
[...] the blogs I read that do not have print-friendly pages I use jQuery and Firebug to trim the unwanted portions of the page that I do not want printed by setting the display [...]