macrozilla 
| resources: | Home Mailing List Installation Source Code Screenshots |
|---|
Documentation and Draft Notes
Basic Script ExamplesWith Macrozilla 0.02 now we have exposed functions from the macrozilla runtime. The first and important one is the __contentDocument which means the contentDocument of the content area (main) where the browser loaded the page. One function is also available __loadSiteCallback(siteString,executionString);
The following script is an example using the loadSiteCallback function. the script will pass through an array of web sites going to the next one only after the current is loaded.
sites=['http://taboca.com','http://geckonnection.com','http://www.livesidebar.com'];
var ii=0;
function keepnext() {
if(ii<sites.length) {
__loadSiteCallback(sites[ii],"keepnext()");
ii++;
}
}
keepnext();