gpt4 book ai didi

codeigniter - 从 codeigniter 中的 botdetect 验证码中删除链接

转载 作者:行者123 更新时间:2023-12-01 13:41:11 25 4
gpt4 key购买 nike

我正在使用 Botdetect 验证码,但我需要删除他们在图片验证码下方提供的链接,如何删除它

<a href="//captcha.org/captcha.html?codeigniter" title="BotDetect CAPTCHA Library for CodeIgniter" style="display: block !important; height: 10px !important; margin: 0 !important; padding: 0 !important; font-size: 9px !important; line-height: 9px !important; visibility: visible !important; font-family: Verdana, DejaVu Sans, Bitstream Vera Sans, Verdana Ref, sans-serif !important; vertical-align: middle !important; text-align: center !important; text-decoration: none !important; background-color: #f8f8f8 !important; color: #606060 !important;">BotDetect CAPTCHA Library for CodeIgniter</a>

这是图片 enter image description here

最佳答案

在首页添加代码

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("a[title ~= 'BotDetect']").removeAttr("style");
$("a[title ~= 'BotDetect']").removeAttr("href");
$("a[title ~= 'BotDetect']").css('visibility', 'hidden');

});
</script>

关于codeigniter - 从 codeigniter 中的 botdetect 验证码中删除链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40058120/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com