Skip to content

Simple Frontend captcha for plainly testing purposes

License

Notifications You must be signed in to change notification settings

NeuralFlux/SimpleCaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleCaptcha v1.0

Simple captcha without a backend.

Using just HTML and JS. It's vulnerable (obviously), but it gets things done for a simple project.

For a demo, you can watch the video I made here.

User Guide

There are 3 files in the directory, namely, captcha.(css, html, js).

  1. Copy the CSS and JS files into your HTML directory (not necessary, but makes things simpler).
  2. Include these both into your HTML file. (If you're not sure how to do so, check captcha.html)
  3. Add an input field with ID as "randomfield" (this will be the Captcha displayer).
  4. Add an input field with ID as "CaptchaEnter" (this will be the field where user enters the captcha).
  5. Add a button or anything you desire, so that, onclick, the function check() is called (this function checks the input and redirects the user to a page if it matches).
  6. To change the page to which redirection takes place, go to the JavaScript file

Now you have your own simple Captcha without any backend!

To get in contact, Email me at [email protected]!

Any bug fixes in the code are appreciated.

About

Simple Frontend captcha for plainly testing purposes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published