AllBASIC Forum
BASIC Developer & Support Resources => Open Forum => Topic started by: JRS on September 20, 2010, 09:47:03 PM
-
I needed to automate a few tasks in a browser and ran across a Firefox plug-in from MIT. The source to this plug-in is a combination of JavaScript, Java and AJAX.
Chickenfoot is a Firefox extension that puts a programming environment in the browser's sidebar so you can write scripts to manipulate web pages and automate web browsing. In Chickenfoot, scripts are written in a superset of Javascript that includes special functions specific to web tasks.
Running this chickenfoot script on google.com will replace the google logo with the ninja.png image.
replace('Google image',
'<img src="http://www.bolinfest.com/ninja.png">')
(http://files.allbasic.info/AllBasic/cfapi.png)
Chickenfoot Website (http://groups.csail.mit.edu/uid/chickenfoot/index.php)
-
Looks interesting ... reminds me of GreaseMonkey.
I do suspect a name change is in the offing though:
http://en.wikipedia.org/wiki/Chickenfoot
-
Chickenfoot (software) (http://en.wikipedia.org/wiki/Chickenfoot_%28software%29)
GreaseMonkey (subset ?) doesn't seem to have as much functionality as Chickenfoot but the scripts are compatible from what I read.
All I have to do now is figure out how to embed SB as a browser plug-in. ???