https://github.com/anupamkhosla/clientsidecaptcha
Pure Client side js captcha(Unsecure!). Demo: http://anupamkhosla.github.io/ClientSideCaptcha
https://github.com/anupamkhosla/clientsidecaptcha
captcha css html javascript jquery plugin
Last synced: about 1 year ago
JSON representation
Pure Client side js captcha(Unsecure!). Demo: http://anupamkhosla.github.io/ClientSideCaptcha
- Host: GitHub
- URL: https://github.com/anupamkhosla/clientsidecaptcha
- Owner: AnupamKhosla
- Created: 2017-05-21T16:21:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-21T11:17:31.000Z (almost 9 years ago)
- Last Synced: 2025-04-13T19:05:14.760Z (about 1 year ago)
- Topics: captcha, css, html, javascript, jquery, plugin
- Language: JavaScript
- Size: 10.7 KB
- Stars: 9
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ClientSideCaptcha
Pure Client side js captcha(Unsecure!), Demo: http://anupamkhosla.github.io/ClientSideCaptcha
Build on top of gist https://gist.github.com/SneakyBrian/5209271 written by Sneaky Brian
# API Example:
```
var captcha = new $.Captcha({ //initialize captcha
selector: "#captcha",
text: null,
randomText: true,
randomColours: true,
width: 244,
height: 163,
colour1: null,
colour2: null,
font: 'normal 40px "Comic Sans MS", cursive, sans-serif',
onFailure: function() {
alert("Failure!");
},
onSuccess: function() {
alert("CORRECT!!!");
}
});
captcha.generate(); //Generate or refresh captcha
captcha.validate(); //validate filled captcha
```
`npm` support to be added soon.