I have website a and website b. b is present in iframe and it conta开发者_开发百科ins some javascript methods I want to overload those methods.
Windows postMessage
Cross-domain communication the HTML5 way
An Introduction to Cross-Document Messaging in Internet Explorer 8
Also check out http://easyxdm.net a javascript library for cross domain messaging.
I think it's much better to do it with Node.Js.You install it to your server and you can do a lot of server thing and more with it
精彩评论