【发布时间】:2011-03-03 03:34:07
【问题描述】:
我需要在不使用 webclient 或 httpwebrequest 的情况下从 asp.net mvc (C#) 应用程序获取加载到 iframe 中的页面(例如:someotherdomain.com/somepage)的内容(完整 html)。
【问题讨论】:
标签: asp.net-mvc iframe cross-domain
我需要在不使用 webclient 或 httpwebrequest 的情况下从 asp.net mvc (C#) 应用程序获取加载到 iframe 中的页面(例如:someotherdomain.com/somepage)的内容(完整 html)。
【问题讨论】:
标签: asp.net-mvc iframe cross-domain
这根本不可能。您的浏览器会阻止外部站点中的 javascript(在框架中),就像 Ajax 请求一样。
【讨论】: