• On TV.com: 10 More Most ANNOYING Characters On TV
May 6, 2008 12:01 AM PDT

Roll your own Firefox scripts with Chickenfoot

by Dennis O'Reilly
  • Font size
  • Print
  • Post a comment

Any task you perform on the Web can be automated by writing a script. But you don't have to know how to use Javascript or some other scripting language to create your own custom scripts. The Chickenfoot add-on for Firefox makes it easy for nonprogrammers to devise scripts that do their bidding.

Chickenfoot was developed by MIT's User Interface Design Group. It's similar to the Greasemonkey scripting extension for Firefox, but its scripts tend to be simpler and easier for nonprogrammers to customize.

After you download the scripting engine, click View > Sidebar > Chickenfoot (or press F8) to open the Chickenfoot Script Editor. Enter the script in the top pane of the sidebar, and click the Run icon to activate the script for the current page. You can also run scripts by copying and pasting them into the editor, or by clicking the sidebar's Open icon and navigating to the .js file. By placing the scripts in the Triggers window, they will run as soon as the target page opens in Firefox.

A silly example of a Chickenfoot script is one that changes the image on the Google home page. First you copy the script from the Chickenfoot site, and then you paste it into the Chickenfoot script editor, swap out the image-source URL for the one of your choosing, and click the Run icon. Gone is the universally recognizable "Google" icon, and in its place is whatever image you chose. Not especially practical perhaps, but a neat little trick nonetheless.

Chickenfoot script replaces the Google icon

Run a Chickenfoot script that changes the "Google" image on the site's home page with the image of your choice.

(Credit: Chickenfoot)

Another Chickenfoot script places an icon at the end of URLs that lead to a PDF download or anywhere other than a Web page. But the real power of Chickenfoot scripts is in customizing those in the various Chickenfoot libraries.

Keep in mind that malicious scripts can wreak havoc on your system, so be judicious in your use of scripts from unfamiliar sources. Likewise, Chickenfoot may be susceptible to cross-site scripting (XSS), so the developers recommend that you create a separate Firefox profile for Chickenfoot, and use the scripts only on sites you trust.

Tomorrow: top online scanners and speed testers.

Originally posted at Workers' Edge
Dennis O'Reilly has covered PCs and other technologies in print and online since 1985. Along with more than a decade as editor for Ziff-Davis's Computer Select, Dennis edited PC World's award-winning Here's How section for more than seven years. He is a member of the CNET blog Network, and is not an employee of CNET.
Recent posts from News Blog
Nvidia puts NForce chipset development on hold
Opera 10 browser is here
Neil Young Archives Blu-ray: Rip off?
Acronis revises survey results about backup habits
Acronis miscalculates data on users' bad backup habits
Flickr co-founder presses beta button
Comcast, Sony open retail store
Cox to try coaxing the Internet into submission
advertisement

Google's mobile hopes go beyond Nexus One

The world may have thrilled to the potential for a Google Phone, but what Google actually unveiled is its plan for a new smartphone world order.
• Photos: Unboxing Nexus One

Using your smartphone safely

faq Worms, Trojans, and SMS attacks are risks for mobile phones, but the biggest practical threat to users is losing the device.

About News Blog

Recent posts on technology, trends, and more.

Add this feed to your online news reader

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right