我正在寻找一种纯 javascript 方式来:
* refer to a javascript from a different domain than the current page.
* the javascript launches(after a user click) a popup to the same domain the javascript is loaded from.
* the popup calls a callback, in the current page, when a result in the popup window is achieved.
* no additional server files on the domain of the current page.
真的有可能还是它违反了所有的 xss 保护?我相信 Facebook 已经取得了成就。在那里 fb 连接 api。
谢谢你的帮助!