gpt4 book ai didi

javascript - Google Calendar JavaScript API 抛出错误

转载 作者:行者123 更新时间:2023-11-30 13:34:01 24 4
gpt4 key购买 nike

首先,这是我网站的链接: boba.dyndns-server.com/Test/index.html .

单击“提交类(class)”后,将下拉列表从忽略更改为指定,然后单击生成。它抛出错误

Uncaught Error: An image of the same domain is required on this page for authenticated reads and all writes.

此错误是从 file 的第 215 行抛出的谁能给我解释一下这是什么原因造成的?

最佳答案

您的页面上必须有图片。

Source

"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
"

关于javascript - Google Calendar JavaScript API 抛出错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5642868/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com