如何隐藏Google Invisible reCAPTCHA徽章 [英] How to hide the Google Invisible reCAPTCHA badge

查看:368
本文介绍了如何隐藏Google Invisible reCAPTCHA徽章的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在实施新的Google Invisible reCATPTCHA时,默认情况下,您会在屏幕右下方看到一个受reCAPTCHA保护"的徽章,该徽章会在您滑过它时弹出.

When implementing the new Google Invisible reCATPTCHA, by default you get a little "protected by reCAPTCHA" badge in the bottom right of the screen that pops out when you roll over it.

我想隐藏这个.

推荐答案

data-badge属性设置为inline

<button type="submit" data-sitekey="your_site_key" data-callback="onSubmit" data-badge="inline" />

并添加以下CSS

.grecaptcha-badge {
    display: none;
}

这篇关于如何隐藏Google Invisible reCAPTCHA徽章的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆