mozdev.org

macrozilla    

resources:
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;
  }
  

For questions or comments about macrozilla, please send a message to the macrozilla mailing list.
Copyright © 2000-2008. All rights reserved. Terms of Use & Privacy Policy.