How does the CAPTCHA from left to right do?

some app or websites use the mouse to pull the slider from left to right, and some have a jigsaw puzzle. Pull a block to the corresponding position and put it together. How do you do these two kinds of CAPTCHA?

Mar.10,2021

to put it simply, it is the combination of the three methods of onmousedown onmousemove onmouseup. You can find a source code with this function and have a look at it.


<!DOCTYPE html>
<html>
<head>
    <title>test</title>
    <link rel="stylesheet" href="http://www.jq22.com/demo/jquerytdyz201801252357/css/slider.css">
    <script type="text/javascript" src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
</head>
<body>
    <div id="sliderLock"></div>
    <script type="text/javascript" src="http://www.jq22.com/demo/jquerytdyz201801252357/js/slider.js"></script>
    <script>
        new SliderLock("-sharpsliderLock",function(){
            alert("");
        }).init();
    </script>
</body>
</html>

the realization idea is actually very simple: drag the picture with the mouse. After releasing the mouse, check whether the position of the picture is the same as the missing one


canvas slider verification code ider_test" rel=" nofollow noreferrer "> ider_test" rel= "nofollow noreferrer" > https://github.com/utali/slid.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e82fdb-c21.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e82fdb-c21.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?