Roll your own Firefox scripts with Chickenfoot

This free add-on simplifies script writing to bring more power to your browsing.

Dennis O'Reilly Former CNET contributor
Dennis O'Reilly began writing about workplace technology as an editor for Ziff-Davis' Computer Select, back when CDs were new-fangled, and IBM's PC XT was wowing the crowds at Comdex. He spent more than seven years running PC World's award-winning Here's How section, beginning in 2000. O'Reilly has written about everything from web search to PC security to Microsoft Excel customizations. Along with designing, building, and managing several different web sites, Dennis created the Travel Reference Library, a database of travel guidebook reviews that was converted to the web in 1996 and operated through 2000.
Dennis O'Reilly
2 min read

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