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

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -