javascript extractor code example Example: tools to extract javascript from the page $('script').each(function(){ alert($(this).html()) });