开发者

JS Elements in different window

I'm trying to open another website and pull out a list of usernames on that site to send a message to. Specifically, I'm talking about XBOX Live previous players - this requires a login through a https:// website and so an iFrame so that Javascript can reference this cannot be used.

I have looked at JavaScript HTML DOM Examples but none of them seem to be what I need.

How do I create a NEW window in Javascript and access the elements of that window?

You c开发者_StackOverflow中文版an see my previous post here where I was attempting to do this with VBScript (an appalling idea really). Show me how I can perform the same with pure Javascript! :)


If the window is in a different domain, JavaScript can not access it because of the same origin policy. So for the same reason you can not do it with an iframe, you can not do it with a pop up window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜