当我试图将哈希值设置为包含另一个域名 URL 的 iframe 的父级 URL 时,出现以下错误:
如何解决这个问题?Unsafe JavaScript attempt to access frame with URL "URL1" from frame with URL "URL2". Domains, protocols and ports must match.