I have a recaptcha 2 site but site key is hidden from js to js, how to specify it manually?



  • I have a recaptcha 2 site but site key is hidden from js to js, how to specify it manually?



  • I copy paste the code where I think it is the site code in question, which has another format. It is recaptcha 2 FOR SURE. But it works different with the js. If I try to solve using new captcha method for recaptcha without emulation it says: "[17:13:17] Thread #1 : data-sitekey is empty". Can you tell me how to fix? Maybe we have to add a feature for this manual specification of site key?

     	 			var onCallback = function(response) {
    					validateCaptcha();
    				};
     	 			var onloadReCaptchaCallback = function () {
     	 	 			grecaptcha.render('grecaptcha', {
    						'sitekey' : 'HERE IS A SITEKEY',
    						'callback' : onCallback,
     	 	 	        });
    				}

Log in to reply