• On TechRepublic: Who made the worst PC ever?
May 6, 2008 12:01 AM PDT

Roll your own Firefox scripts with Chickenfoot

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
Navy charters kite-powered cargo ship to deliver equipment
EA Mobile, Eidos Interactive sign agreement
Sprint first to offer HTC Touch Pro
Flipping out: RIM BlackBerry Pearl Flip 8220 debuts
Sprint HTC Touch Diamond outed early
Powered by Jive Software
advertisement

About News Blog

Recent posts on technology, trends, and more.

Add this feed to your online news reader

News Blog topics

Featured blogs

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right