我想在特定的URL上添加iframe,并且一切正常,但是iframe内容未加载。在iframe中,我看到消息“对服务器的请求已被扩展程序阻止”。
我禁用了所有其他扩展(Tampermonkey除外)。显然Tampemonkey由于某种原因阻止了此行为。任何想法如何做到这一点?
在JS控制台中,我看到:
chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/:1 Refused to frame
'https://xyz123.com/' because it violates the following Content Security
Policy directive: "child-src 'self' docs.google.com fast.wistia.net
js.stripe.com platform.twitter.com player.vimeo.com staticxx.facebook.com
www.facebook.com web.facebook.com www.youtube.com". Note that 'frame-src' was
not explicitly set, so 'child-src' is used as a fallback.