幀我不知道爲什麼發生這種情況,它不是通常的,常見的錯誤:谷歌驗證碼未捕獲拋出:DOMException:封閉起源「https://www.google.com」
Uncaught SecurityError: Block a frame with origin.
我得到的錯誤是:
Uncaught DOMException: Blocked a frame with origin " https://www.google.com " from accessing a cross-origin frame.
我跟隨谷歌對如何啓用驗證碼的指令,但它不是爲我工作!
// top of the page
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
// then somewhere in the bottom
<div class="g-recaptcha" data-sitekey="@Model.Register.CaptchaSiteKey"></div>
我的CaptchaSiteKey
正在加載(我調試和檢查)。