codedistillery / angular-no-captcha Goto Github PK
View Code? Open in Web Editor NEWAngular.JS wrapper for Google's No CAPTCHA reCAPTCHA
Home Page: http://codedistillery.github.io/angular-no-captcha/
License: MIT License
Angular.JS wrapper for Google's No CAPTCHA reCAPTCHA
Home Page: http://codedistillery.github.io/angular-no-captcha/
License: MIT License
There is a minor typo in your read me:
angular.module('myApp')
.config(['noCAPTCHAProvider', function (noCaptchaProvider) {
noCaptchaProvider.setSiteKey('<your site key>');
noCaptchaProvider.setTheme('dark');
}
]);
Should be
angular.module('myApp')
.config(['noCAPTCHAProvider', function (noCaptchaProvider) {
noCAPTCHAProvider.setSiteKey('<your site key>');
noCAPTCHAProvider.setTheme('dark');
}
]);
Hello,
i needed this repository to be on the npm register, right now i published it on my name but if you want i can change it to you.
Thank you
When I run my app locally everything is ok but when I push it to my server live I get the following error. It doesn't break anything but I think is better to remove this :)
Error:
https://docs.angularjs.org/error/$compile/nonassign?p0=undefined&p1=noCaptchar%2F
Could you package a minified version?
I have the following error after validation during the execution of the function removePLSContainers
ReferenceError: $document is not defined
at removePLSContainers (angular-no-captcha.js:61)
at angular-no-captcha.js:121
at n.$get.n.$broadcast (angular.js:14785)
at n.$get.n.$destroy (angular.js:14405)
at n.scopePrototype.$destroy (hint.js:1423)
at z (angular-route.js:907)
at angular-route.js:940
at angular.js:6995
at $get.h (angular.js:7135)
at k (angular.js:7795)
I solved it changing the directive
.directive('noCaptcha', [
'noCAPTCHA',
'googleGrecaptcha',
'$document',
function (noCaptcha, googleGrecaptcha, $document) {
There is no language support, no? i can make a pull request for this feature.
Greetings
I want to use Google NoCaptcha Recaptcha in bootstrap modal. Currently I am reseting the grecaptcha every time modal is shown noCaptchaControl.reset() function
I get the following error:
Cannot read property 'register' of undefined
Can we get a version bump so we can pull the latest changes from bower? I'm using the expire-callback in a project and would like to not have to manage working from my fork.
Hello,
Under what license angular-no-captcha is published?
Could you add license file?
Is there any way to reset captcha after the successful request?
Hey there
I use the no-captcha in my modal dialog, that I open up via angular-bootstrap $modal. After the modal is closed and removed from the DOM, clicking anywhere on the web page throws an error
Error: Permission denied to access property "I4_1430420130990"
(property name varies) in script cb=gapi.loaded
.
The error will only happen if I actually click on the recaptcha (attempt to obtain a response). Multiple reproductions of this error result in adding, e.g. attempting to validate 2 times will cause 2 errors on every click, 3 times equal 3 errors per click etc.
The captcha itself works properly.
Has anyone encountered something like this?
Thanks
The project has not been rebuilt since 1d1cd4 (Added support for stoken). So build\ angular-no-captcha.min.js does not reflect changes in src\ angular-no-captcha.js.
It isn't clear from the documentation how to suppress the display of the textarea that shows the captcha response code.
Am I missing any migration instructions?
<no-captcha g-recaptcha-response="captchaResponse"></no-captcha>
and
noCAPTCHAProvider.setSiteKey('[FILTERED]');
in config.
Not seeing anything in console (Chrome Dev Tools).
Thanks!
WORK: Original google-no-captcha resize using transform: scale.
<div class="g-recaptcha" data-sitekey="mykey" style="transform:scale(0.50);transform-origin:0 0")></div>
DON'T WORK: If you apply the same style to the no-captcha tag. It will ignore it.
<no-captcha g-recaptcha-response="gRecaptchaResponse", theme='light', control="noCaptchaControl", site-key="mykey", style="transform:scale(0.50);transform-origin:0 0"></no-captcha>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.