Search Posts

Category: recaptcha

How to Resize ng-recaptch in my forms?

how to How to Resize ng-recaptch in my forms? my code is: <re-captcha #captchaRef=”reCaptcha” (resolved)=”resolved($event)” class=”g-recaptcha” style=”transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0; width:0;”></re-captcha> I Use ng-recaptcha Source: AngularJS

Is it possible to use Google Recaptcha to block bots from stealing images

how to Is it possible to use Google Recaptcha to block bots from stealing images My boss has asked my to implement Google Recaptcha on our site to verify users and not bots are looking at a section of our site that has live camera feeds on it. The camera feeds come to us via a third party API so we don’t own them. To get this to work, every 30 mins we fetch key […]

Ionic 3 with Firebase reCaptcha in a browsertab & redirect back to application

I’m trying to implement signInWithPhoneNumber using firebase, I’ve successfully managed it on a browser but due to ionic not being recognized as a known platform, it can’t render the recaptcha on the application. So I was forced to use an alternative, I created a site with firebase hosting which implements the recaptcha & using the browsertab native plugin from Google to open that link. Now my question is how do I get the response from […]

How to use .then method for vcRecaptchaService.execute()?

I am using anuglar-recaptcha for adding Google Invisible Recaptcha to my login form The issue I am facing is, immediately after I call vcRecaptchaService.execute, if I print the recaptcha_reponse I will see undefined as output. But if I print recaptcha_reponse few seconds afterwards by using a test function printRecaptchaReponse I will see the recaptcha_reponse getting printed. The Issue here is, the library function vcRecaptchaService.execute() is not returning a $promise here. Its actually returning none Is […]

How to correctly use no captcha reCaptcha API2

Let’s say I have a form only with one input for a username (String). Then the google no captcha reCaptcha (API2) with the checkbox “I’m not a robot” and the submit button. When you press the submit button, the form will check that username is not empty and the captcha got a response string from the public key. If at least one of this is not correct, the user gets a notification in JavaScript right […]

TypeError: Cannot read property ‘value’ of null in angular js

I am using google recaptcha before a form submit in my angular js application and it is working fine for the first time but if i try to submit the form second time(same form) it is showing the error angular.js:14525 TypeError: Cannot read property ‘value’ of null My recaptcha code is <div vc-recaptcha key=”my key here” ng-model=”letter.myRecaptchaResponse” on-create=”setRecaptchaId(widgetId)”> </div> My controller code is $scope.setRecaptchaId = function(widgetId) { $scope.recaptchaId = widgetId; return; }; $scope.letter.mresponse = vcRecaptchaService.getResponse($scope.recaptchaId); […]