Google Adsense - Uncaught SecurityError: Failed to read the 'frame' property from 'Window': Blocked a frame with origin

我只是一个虾纸丫 提交于 2019-12-13 02:56:11

问题


I am using a google adsense ad unit inside an iframe, it was working fine until a few days ago when the ad stopped running only on chrome browser. it is working fine on Firefox browser.

Uncaught SecurityError: Failed to read the 'frame' property from 'Window': Blocked a frame with origin "http://....." from accessing a frame with origin "http://localhost". Protocols, domains, and ports must match.

Any help would be much appreciated.

来源:https://stackoverflow.com/questions/31533290/google-adsense-uncaught-securityerror-failed-to-read-the-frame-property-fro

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!