草庐IT

hasPasswordField

全部标签

javascript - hasPasswordField_ 引发的 Facebook iFrame 安全错误 (document.domain)

我们有一个使用标准FacebookAPI的项目,主要用于登录和注册目的。由于我们使用哨兵来接收错误通知,因此经常出现以下错误通知(在首页):SecurityError:Blockedaframewithorigin"https://www.mywebsite.com"fromaccessingaframewithorigin"https://www.facebook.com".Theframebeingaccessedset"document.domain"to"facebook.com",buttheframerequestingaccessdidnot.Bothmustset"do