captcha google does not respect js

0

I do not know if the title is ok, but my question is as follows. It turns out that I have on my website a code where I prevent the user, using javascript, using the right click. In my web works well but I can not make that happen also in my damn, which if you let the right mouse click ... My website is: link

<script>
document.oncontextmenu = function(){return false} //funcion para bloquear el click derecho del mouse
</script>
    
asked by Juan Ortiz 26.05.2018 в 04:44
source

1 answer

1

The captcha of google loads by means of an iframe and by 'security' there are very few modifications that you can do. That is why your 'overwriting' on the oncontextmenu does not work, the iframe makes the captcha independent of the events (this case) or css from your site.

    
answered by 26.05.2018 / 10:31
source