SecurityError: Blocked a frame with origin from access a cross-origin frame IN FIRST ACCESS

Posted

技术标签:

【中文标题】SecurityError: Blocked a frame with origin from access a cross-origin frame IN FIRST ACCESS【英文标题】:SecurityError: Blocked a frame with origin from accessing a cross-origin frame IN FIRST ACCESS 【发布时间】:2020-03-09 16:40:26 【问题描述】:

SecurityError: Blocked a frame with origin "http://www.app.teste.com" 访问跨域框架。

我知道其他人发布了同样的问题。但我创建了这个,因为有一个指定的问题。

这个错误发生在第一次访问时,当我按 f5 重新加载页面时效果很好。

【问题讨论】:

【参考方案1】:

您应该检查您的 HTTP_REFERER。重新加载后引用更改。

【讨论】:

以上是关于SecurityError: Blocked a frame with origin from access a cross-origin frame IN FIRST ACCESS的主要内容,如果未能解决你的问题,请参考以下文章

SCORM: SecurityError: Blocked a frame with origin from access a cross-origin frame FOR SAME ORIGIN

Symfony 1.4 - SecurityError: Blocked a frame with origin "[url]" from access a cross-origi

In-Context Checkout: Uncaught SecurityError: Blocked a frame with origin: checkout.js:4734 throws er

iframe跨端口报错 Blocked a frame with origin from accessing a cross-origin frame

SecurityError:错误 #2148:SWF 文件文件

IE10 上的 WebSocket 给出 SecurityError