The Manual Way to Hide / Remove reCaptcha Audio
Was trying to disable the audio option for reCaptcha, but couldn't find the official way to do so.
So in the end, I used the old-school javascript + CSS method to hide the buttons.
Hiding the buttons
Add this code snipped anywhere after the reCaptcha code.
Filling ackground color
Now we have a empty space in the column where the buttons are. So just use CSS to replace the color.
There you go, a reCaptcha with no audio option.
:)
So in the end, I used the old-school javascript + CSS method to hide the buttons.
Hiding the buttons
Add this code snipped anywhere after the reCaptcha code.
<script type="text/javascript"> jQuery(document).ready(function(){ document.getElementById('recaptcha_switch_audio_btn').style.display="none"; document.getElementById('recaptcha_reload_btn').style.display="none"; document.getElementById('recaptcha_whatsthis_btn').style.display="none"; }); </script>
Filling ackground color
Now we have a empty space in the column where the buttons are. So just use CSS to replace the color.
#recaptcha_table tr {background:#dfdfdf;}
There you go, a reCaptcha with no audio option.
:)
excellent, thanks for that, no more crazy audio!!
ReplyDelete