macrozilla 
| resources: | Home Mailing List Installation Source Code Screenshots |
|---|
Documentation and Draft Notes
Basic Script Examples: Shows the JS source of the current page (including the included JS)This sample is compatible with Macrozilla 0.04+. You visit some web site and use this script and run it on top of the site. The script will collect the JS code source.
for(var j=0;j<parent.parent.__contentDocument.getElementsByTagName('script').length;j++) {
parent.document.getElementById("dumparea").value+="\n"+parent.parent.__contentDocument.getElementsByTagName('script').item(j).innerHTML;
}