javascript - Is there a way to Capture http/s response from external server -
is there way capture response sent external server using javascript in our webpage. example have iframe youtube video object in page. need capture response sent (video details) youtube whenever video played.
you can't.
you'd need access window object of iframe, can't because of same origin policy. if same origin, possibly build in xmlhttprequest's prototype capture data. may able proxy request youtube servers, have same origin.
Comments
Post a Comment