第一件事首先,这是我网站的链接: boba.dyndns-server.com/Test/index.html
点击“提交课程”后,将“从忽略”下拉到“指定”,然后单击“生成”。它抛出错误
Uncaught Error: An image of the same domain is required on this page for authenticated reads and all writes.
此错误从此file的第215行引发 任何人都可以向我解释是什么原因引起的吗?
答案 0 :(得分:3)
您的网页上必须有图片。
"It means that your page needs to have at least one image (<img
src="..." />) that's hosted off of your domain. It doesn't matter
what, there just needs to be at least one image.
It's a strange requirement, but that's part of the mechanism we use to
bypass the same-origin policy.
--
Trevor Johns
"