The SOP is a security restriction that basically forbids a page loaded from a certain origin (meaning the protocol/host/port trio of the URL) to access data from a different origin.
SOP 是一种安全性约束,它实际上禁止从某个源(即 URL 的协议/主机/端口三元组)装载的页面访问来自不同源的数据。
The same-origin policy prevents a script loaded from one domain from getting or manipulating properties of a document from another domain.
同源策略阻止从一个域上加载的脚本获取或操作另一个域上的文档属性。
The most effective solution is to change any links to them; that way, completely new representations will be loaded fresh from the origin server.
最好的办法是改变它们的链接,这样,新的副本将会从源服务器上重新下载。
应用推荐