macrozilla 
| resources: | Home Mailing List Installation Source Code Screenshots |
|---|
Documentation and Draft Notes
Basic Script ExamplesThis macrozilla script will navigate a list of sites and will show you the javascript src. Note that this version is not currently supporting frames. A new script is welcome or if you believe that the support to FRAMES should be provided by the exposed APIs, please feedback/contribute!.
sites=['http://taboca.com','http://geckonnection.com','http://www.livesidebar.com','http://www.bradesco.com.br'];
var ii=0;
function keepnext() {
if(ii!=0) {
if(parent.parent.__contentDocument.getElementsByTagName('script').length) {
for(var j=0;j<parent.parent.__contentDocument.getElementsByTagName('script').length;j++) {
alert(parent.parent.__contentDocument.getElementsByTagName('script').item(j).innerHTML);
}
}
}
if(ii<sites.length) {
__loadSiteCallback(sites[ii],"keepnext()");
ii++;
} else {
}
}
keepnext();