用iframe嵌套微信的页面时,不能加载其中的图片
F12 显示
Uncaught SecurityError: Blocked a frame with origin "http://mp.weixin.qq.com" from accessing a frame with origin "null". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "file". Protocols must match.
这是不是没有办法解决了?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
微信公众号主要依靠 http 请求 head 的 referer 来防盗链的。
解决方法就不给出了,这涉及到道德问题了。