repair window not show

master
hhCandy 5 years ago
parent 984cb82130
commit 52597f2bf1
  1. 47
      README.md
  2. 35
      demo.html
  3. 3
      easyVer.min.js

@ -1,8 +1,8 @@
# easyVarCode # easyVer
yahoo! It can be unbelievably easy to fight with robots by including this Plugin~ yahoo! It can be unbelievably easy to fight with robots by including this Plugin~
## What is easyVarCode? ## What is easyVer?
easyVarCode is a friendly plugin which can help you expel robots which are trying to steal user infomation from your website.</br> easyVarCode is a friendly plugin which can help you expel robots which are trying to steal user infomation from your website.</br>
With the help of easyVarCode you can easily identify whether it is a robot who is visiting your website.</br> With the help of easyVarCode you can easily identify whether it is a robot who is visiting your website.</br>
Basing on easyVarCode, it becomes quick and convenient for users to finish their login process which can make your site more friendly. Basing on easyVarCode, it becomes quick and convenient for users to finish their login process which can make your site more friendly.
@ -10,16 +10,47 @@ Basing on easyVarCode, it becomes quick and convenient for users to finish their
## Quick start ## Quick start
[Click here to see how it works!](https://cn.yimian.xyz/etc/easyVarCode/) [Click here to see how it works!](https://cn.yimian.xyz/etc/easyVer/)
## How to use easyVarCode? ## How to use easyVer?
To use easyVarCode, you must include the easyVarCode.js first.</br> - To use easyVer, you must include the jquery.min.js and easyVer.min.js first.</br>
The generated fingerprint is stored in global variabel fp.</br> - To keep the image displayed in shape, you also need to include the easyVer.min.css before using it in your HTML.</br>
- To display a verification window, you only need to cite easyVer() in your js code.</br>
- Please store the function name which you want to run after the verification in the global variable callBackFunctionName before citing easyVer().</br>
- In your HTML body, you need to include a div which class is verBox.</br>
A simple example: A simple example:
```html ```html
<script type="text/javascript" src="https://cdn.yimian.ac.cn/easyVarCode/easyVarCode.js"></script> //include easyVer css file
<script type="text/javascript">alert(fp);</script> <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>
``` ```

@ -0,0 +1,35 @@
<!DOCTYPE html>
<head>
<link type="text/css" rel="stylesheet" href="https://cdn.yimian.ac.cn/easyVer/easyVer.min.css">
</head>
<body>
<button onclick="show_easyVer()">Click Me</button>
<div class="verBox"></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>
<script type="text/javascript">
//This is to indicate what js need to do after a user verification
callBackFunctionName="your_callBack_function";
easyVer();
//declaration of your callback function
function your_callBack_function()
{
alert('Verification finished!');
}
</script>
</body>
</html>

3
easyVer.min.js vendored

@ -4,4 +4,5 @@ eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('3.n();3.b();3.c();1 4=a.5("e");1 6=a.5("d");1 9=4.7("8");1 f=6.7("8");1 2=m p();2.o=l;2.i=g(){9.k(2,0,0,j,h)}',26,26,'|var|img|ctx|c_l|getElementById|c_s|getContext|2d|ctx_l|document|stroke|fill|puzzleShadow|puzzleLost|ctx_s|function||onload|w|drawImage|imgSrc|new|closePath|src|Image'.split('|'),0,{})) eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('3.n();3.b();3.c();1 4=a.5("e");1 6=a.5("d");1 9=4.7("8");1 f=6.7("8");1 2=m p();2.o=l;2.i=g(){9.k(2,0,0,j,h)}',26,26,'|var|img|ctx|c_l|getElementById|c_s|getContext|2d|ctx_l|document|stroke|fill|puzzleShadow|puzzleLost|ctx_s|function||onload|w|drawImage|imgSrc|new|closePath|src|Image'.split('|'),0,{}))
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('7.b();7.e="c(0,0,0,0)";7.f(5,4);7.8(5+d,4);7.9(5+d,4-d,5+2*d,4-d,5+2*d,4);7.8(5+3*d,4);7.8(5+3*d,4+d);7.9(5+2*d,4+d,5+2*d,4+2*d,5+3*d,4+2*d);7.8(5+3*d,4+3*d);7.8(5,4+3*d);7.h();7.i();7.g=k;7.j="a";7.m();6.b();6.l="1";6.e="c(0,0,0,0)";6.f(5,4);6.8(5+d,4);6.9(5+d,4-d,5+2*d,4-d,5+2*d,4);6.8(5+3*d,4);6.8(5+3*d,4+d);6.9(5+2*d,4+d,5+2*d,4+2*d,5+3*d,4+2*d);6.8(5+3*d,4+3*d);6.8(5,4+3*d);6.h();6.i();6.g=n;6.j="a";6.o();',25,25,'||||Y|X|ctx_s|ctx_l|lineTo|bezierCurveTo|black|beginPath|rgba||strokeStyle|moveTo|shadowBlur|closePath|stroke|shadowColor|10|lineWidth|clip|20|fill'.split('|'),0,{})) eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('7.b();7.e="c(0,0,0,0)";7.f(5,4);7.8(5+d,4);7.9(5+d,4-d,5+2*d,4-d,5+2*d,4);7.8(5+3*d,4);7.8(5+3*d,4+d);7.9(5+2*d,4+d,5+2*d,4+2*d,5+3*d,4+2*d);7.8(5+3*d,4+3*d);7.8(5,4+3*d);7.h();7.i();7.g=k;7.j="a";7.m();6.b();6.l="1";6.e="c(0,0,0,0)";6.f(5,4);6.8(5+d,4);6.9(5+d,4-d,5+2*d,4-d,5+2*d,4);6.8(5+3*d,4);6.8(5+3*d,4+d);6.9(5+2*d,4+d,5+2*d,4+2*d,5+3*d,4+2*d);6.8(5+3*d,4+3*d);6.8(5,4+3*d);6.h();6.i();6.g=n;6.j="a";6.o();',25,25,'||||Y|X|ctx_s|ctx_l|lineTo|bezierCurveTo|black|beginPath|rgba||strokeStyle|moveTo|shadowBlur|closePath|stroke|shadowColor|10|lineWidth|clip|20|fill'.split('|'),0,{}))
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('6 1=\'\';$(".7-8").5(2(e){e=e||4.3;$(9).d({"f-c":"0 -b"});1=e.a});',16,16,'|moveStart|function|event|window|mousedown|var|slider|btn|this|pageX|216px|position|css||background'.split('|'),0,{})) eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('6 1=\'\';$(".7-8").5(2(e){e=e||4.3;$(9).d({"f-c":"0 -b"});1=e.a});',16,16,'|moveStart|function|event|window|mousedown|var|slider|btn|this|pageX|216px|position|css||background'.split('|'),0,{}))
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('N=8(e){e=e||H.G;6 C=e.E;6 d=C-g;h(g==\'\'){}m{h(d<0||d>(w-Z-Y)){}m{$(".5-j").7({"1":d+\'v\',"9":"s"});$("#J").7({"1":d+\'v\',"9":"s"});$("#L").7({"1":d+\'v\',"9":"s"})}}};V=8(e){e=e||H.G;6 q=e.E-g;6 o=X-10;6 p=4;6 z=o-p;6 K=o+p;h(g==\'\'){}m{h(K>q&&q>z){$(".b-2").D(\'<i f="x-l:-n -W;"></i><3 f="A:#U;">S T!</3><3></3>\');$(".b-2").k("5-2");$(".12-13-11").k("y");$("#R").k("y");r(8(){$(".b-2").B("5-2");t(c);M()},I);c.Q()}m{$(".b-2").D(\'<i f="x-l:-n -P;"></i><3 f="A:O;">1k 1o!</3><3 f="1p-1:n;">1q 1n 1l 1m 1x 1w l!</3>\');$(".b-2").k("5-2");r(8(){$(".b-2").B("5-2");1v.1s("1r").1u="1t://1j.18.19.1a/17/14.15?16="+F.1b(F.1g()*10);t(c)},I);c.1h()}}r(8(){$(".5-j").7({"1":\'0\',"9":"1 0.u"});$("#J").7({"1":\'0\',"9":"1 0.u"});$("#L").7({"1":\'0\',"9":"1 0.u"})},1i);$(".5-j").7({"x-l":"0 -1f"});g=\'\';$(".1c-j a").1d("1e",8(){t(c)})}',62,96,'|left|tips|span||slider|var|css|function|transition||ver|Config|||style|moveStart|if||btn|addClass|position|else|4px|ver_Num|deviation|moveEnd_X|setTimeout|inherit|imgVer|5s|px||background|hidden|Min_left|color|removeClass|moveX|html|pageX|Math|event|window|2000|puzzleLost|Max_left|puzzleShadow|easyVer_off|onmousemove|red|1229px|success|puzzleBox|Authority|Confimed|42ca6b|onmouseup|1207px||PL_Size|padding||box|puzzle|lost|image|php|df|easyVer|yimian|ac|cn|floor|re|on|click|84px|random|error|1000|cdn|Verification|block|to|drag|Failure|margin|Please|scream|getElementById|https|src|document|right|the'.split('|'),0,{}))}eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('t 8="";$(".2").c("<9 h=\\"7\\" g=\\"i:k-j;\\"></9>");$(".b").d(\'f\',3(){$(".2").4({"5":"0","6":"1"})});3 e(){7({l:\'$("#7")\',s:\'r\',n:\'v\',u:3(){$(".2").4({"5":"a","6":"0"});$(".2").4({"5":"0","6":"1"});m(8)o(8+"()")},q:3(){}})}3 p(){$(".2").4({"5":"a","6":"0"})}',32,32,'||verBox|function|css|left|opacity|imgVer|callBackFunctionName|div|404px|ver|html|on|easyVer|click|style|id|display|block|inline|el|if|height|eval|easyVer_off|error|260|width|var|success|116'.split('|'),0,{})) eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('N=8(e){e=e||H.G;6 C=e.E;6 d=C-g;h(g==\'\'){}m{h(d<0||d>(w-Z-Y)){}m{$(".5-j").7({"1":d+\'v\',"9":"s"});$("#J").7({"1":d+\'v\',"9":"s"});$("#L").7({"1":d+\'v\',"9":"s"})}}};V=8(e){e=e||H.G;6 q=e.E-g;6 o=X-10;6 p=4;6 z=o-p;6 K=o+p;h(g==\'\'){}m{h(K>q&&q>z){$(".b-2").D(\'<i f="x-l:-n -W;"></i><3 f="A:#U;">S T!</3><3></3>\');$(".b-2").k("5-2");$(".12-13-11").k("y");$("#R").k("y");r(8(){$(".b-2").B("5-2");t(c);M()},I);c.Q()}m{$(".b-2").D(\'<i f="x-l:-n -P;"></i><3 f="A:O;">1k 1o!</3><3 f="1p-1:n;">1q 1n 1l 1m 1x 1w l!</3>\');$(".b-2").k("5-2");r(8(){$(".b-2").B("5-2");1v.1s("1r").1u="1t://1j.18.19.1a/17/14.15?16="+F.1b(F.1g()*10);t(c)},I);c.1h()}}r(8(){$(".5-j").7({"1":\'0\',"9":"1 0.u"});$("#J").7({"1":\'0\',"9":"1 0.u"});$("#L").7({"1":\'0\',"9":"1 0.u"})},1i);$(".5-j").7({"x-l":"0 -1f"});g=\'\';$(".1c-j a").1d("1e",8(){t(c)})}',62,96,'|left|tips|span||slider|var|css|function|transition||ver|Config|||style|moveStart|if||btn|addClass|position|else|4px|ver_Num|deviation|moveEnd_X|setTimeout|inherit|imgVer|5s|px||background|hidden|Min_left|color|removeClass|moveX|html|pageX|Math|event|window|2000|puzzleLost|Max_left|puzzleShadow|easyVer_off|onmousemove|red|1229px|success|puzzleBox|Authority|Confimed|42ca6b|onmouseup|1207px||PL_Size|padding||box|puzzle|lost|image|php|df|easyVer|yimian|ac|cn|floor|re|on|click|84px|random|error|1000|cdn|Verification|block|to|drag|Failure|margin|Please|scream|getElementById|https|src|document|right|the'.split('|'),0,{}))}eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('t 8="";$(".2").c("<9 h=\\"7\\" g=\\"i:k-j;\\"></9>");$(".b").d(\'f\',3(){$(".2").4({"5":"0","6":"1"})});3 e(){7({l:\'$("#7")\',s:\'r\',n:\'v\',u:3(){$(".2").4({"5":"a","6":"0"});$(".2").4({"5":"0","6":"1"});m(8)o(8+"()")},q:3(){}})}3 p(){$(".2").4({"5":"a","6":"0"})}',32,32,'||verBox|function|css|left|opacity|imgVer|callBackFunctionName|div|404px|ver|html|on|easyVer|click|style|id|display|block|inline|el|if|height|eval|easyVer_off|error|260|width|var|success|116'.split('|'),0,{}))
function show_easyVer(){$(".verBox").css({"left":"0","opacity":"1" })}
Loading…
Cancel
Save