Giter Club home page Giter Club logo

angular-no-captcha's Issues

Version Bump

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.

no-captcha box can't be resized

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>

Error after closing modal

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

License file

Hello,

Under what license angular-no-captcha is published?

Could you add license file?

ReferenceError

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) {

Documentation Typo

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');
  }
]);

Reset Captcha

Is there any way to reset captcha after the successful request?

Published on npm register

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

Language Support

There is no language support, no? i can make a pull request for this feature.

Greetings

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.