首页 > 解决方案 > 我的控制台上有这个错误,无法理解它“console.error.apply(console, Object(rd)(t))”

问题描述

我已将此jsfiddle iframe 弹出示例添加到我的网站,但无法使其正常工作。我可以在我的控制台上读取 4 个错误。

经过一些研究,我可以说问题来自 Recaptcha div,当我从我的开发工具中删除这部分代码时,一切正常。有没有办法在页面加载时删除它?

<div class="grecaptcha-badge" data-style="bottomright" style="width: 256px; height: 60px; display: block; transition: right 0.3s ease; position: fixed; bottom: 14px; right: -186px; box-shadow: gray 0px 0px 5px; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; overflow: hidden;"><div class="grecaptcha-logo"><iframe src="https://www.google.com/recaptcha/api2/anchor?ar=1&amp;k=6LfMLuYUAAAAAObEEWN0DF3fjNDUuSZxWz38OTW1&amp;co=aHR0cHM6Ly9zZWN1cmUucmVzZXJ2aXQuY29tOjQ0Mw..&amp;hl=fr&amp;v=HYx6hBAtwYatsD8qzq7tXNTk&amp;size=invisible&amp;cb=chdx935d7511" width="256" height="60" role="presentation" name="a-lqv01fzesjs7" frameborder="0" scrolling="no" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation"></iframe></div><div class="grecaptcha-error"></div><textarea id="g-recaptcha-response-100000" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none; display: none;"></textarea></div>

标签: javascripthtmljquerypopupgetelementbyid

解决方案


推荐阅读