Loading iframe in google-chrome extension (Error: Protocols must match)

纵饮孤独 提交于 2019-12-04 21:21:30

Problem in your code is your http://www.roblox.com/* source is not secure. The whitelist only secure resources part of the Chrome error message refers to this. You have to use https://www.roblox.com/* and declare

"content_security_policy": "script-src https://roblox.com 'self' ; object-src 'self'"

in manifest file. I observed your domain has is making calls through

http://www.roblox.com/Ads/IFrameAdContent.aspx?v=2&slot=Roblox_User_Top_728x90&format=banner&v=2.

http URL, which is not white listed.

References for further reading

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