You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

2.0 KiB

easyVer

yahoo! It can be unbelievably easy to fight with robots by including this Plugin~

What is easyVer?

easyVarCode is a friendly plugin which can help you expel robots which are trying to steal user infomation from your website.
With the help of easyVarCode you can easily identify whether it is a robot who is visiting your website.
Basing on easyVarCode, it becomes quick and convenient for users to finish their login process which can make your site more friendly.

Quick start

Click here to see how it works!

How to use easyVer?

  • To use easyVer, you must include the jquery.min.js and easyVer.min.js first.
  • To keep the image displayed in shape, you also need to include the easyVer.min.css before using it in your HTML.
  • To display a verification window, you only need to cite easyVer() in your js code.
  • Please store the function name which you want to run after the verification in the global variable callBackFunctionName before citing easyVer().
  • In your HTML body, you need to include a div which class is verBox.
    A simple example:
//include easyVer css file
<link type="text/css" rel="stylesheet" href="https://cdn.yimian.ac.cn/easyVer/easyVer.min.css">

//Put this div in your HTML body
<div class="verBox"></div>


//include jquery and easyVer js file::the js MUST be put AFTER the div
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdn.yimian.ac.cn/easyVer/easyVer.min.js"></script>

//demo script for using easyVer
<script type="text/javascript">

//This is to indicate what js need to do after a user verification
callBackFunctionName="your_callBack_function";

//Cite to setup verification window::This should after the callback function assignment
easyVer();

//use this function to show a easyVer window
show_easyVer();

//declaration of your callback function
function your_callBack_function()
{
	alert('Verification finished!');
}

</script>