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.

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 Workers' Edge
Time to update the software user's bill of rights
Put Task Manager in Windows' notification area
Windows diagnostic tool big on info, short on help
Three more ways to slice and dice the Web
Firefox note-taking add-ons are Web supersavers
The best of Windows 7's new interface features
Four ways to reduce your PC's carbon footprint
Five tips for safe Web shopping
advertisement

15 sites that went kaput in 2009

Web sites launch all the time, but they also shut their doors. We highlight 15 that bit the dust this year.

Top 10 news stories of the decade

Let the debate begin: Was the iPhone more important than iTunes? Was anything bigger than Google finding a great business model? CNET offers its list of the 10 most important stories of the '00s.

About 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.

Add this feed to your online news reader

Workers' Edge topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right