Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么 jQuery getJSON 或类似调用适用于 picasweb 或 yahoo API,而它们不适用于 my page 域之外的任何其他 url?
同源政策:
在计算中,同源策略是许多浏览器端编程语言(例如 JavaScript)的重要安全概念。该策略允许在源自同一站点的页面上运行的脚本(方案、主机名和端口号的组合)无特定限制地访问彼此的方法和属性,但禁止跨不同站点的页面访问大多数方法和属性。