在图像和脚本标签。这是当你想限制其他人访问您的脚本和图像的能力吗?图片https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-crossorigin脚本https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script解决方法CORS-enabledimagescanbereusedintheelementwithoutbeingtainted.Theallowedv