How to display all requested JS code by an iframe?

5

I want to display a iframe with an external page and then show in a textarea all JS code requested by the iframe in question.

I have two problems: the first is how to know all the requests that iframe made, and then take each one and show the code.

I've tried getScript and Ajax in JavaScript URLs to put in textarea , but I have cross-domain problem, and when I can do request , not a field textResponse so I can get the text and display.

How do I do this? Is it possible?

I can only use frontend language, it can be any library, jQuery or even pure JavaScript.

    
asked by anonymous 28.10.2015 / 16:34

0 answers