Greasy Fork

[KissAnime] Captcha Solver

Saves initial responses to KissAnime captcha and auto-selects images if it knows the answer.

目前为 2018-07-06 提交的版本。查看 最新版本

作者
WestleyM
评分
0 0 0
版本
2018.07.06
创建于
2018-06-30
更新于
2018-07-06
大小
12.5 KB
许可证
暂无
适用于

This script is for the auto-completion of KissAnime captcha. Compatible with any number of images in the captcha. If a solution is unknown, you click the answer manually. If it is known, then the correct answer will automatically be clicked.

Be aware that initially this script won't have much of an impact on your experience. Its benefit is cumulative and you will probably only begin to notice it around 50 episodes, and it'll be useful somewhere after 150. But if you don't use RapidVideo anyways, the script's saved solutions will slowly add up.

If you would like to help me and your fellow users out, please send me (or post in feedback) your solution list using the "export" option. I will verify it and compile a master solution list for everyone to use.

To do:
-Host an external PHP file with the most up-to-date raw JSON solution list and allow users to import the solutions in one click. (I will wait until I have enough solutions from you guys.)
-System of verification. This will help me to compile the master list faster. It will basically have flags that increase in value each time this happens:
*JSON object in local storage that stores word:verifyCount pairs.
*Image has been selected, regular word:image pair saved to local storage. Page redirects and you watch the episode.
*Visit captcha page again w/o having hit the "incorrect solutions" page between the two instances. verifyCount will be increased by 1.
-Note this value can be artificially raised by refreshing the page after clicking an image.
-Create a "Solution Selection" mode that will: (Note the captcha changes on refresh.)
*Refresh the page after two images have been selected and saved, rather than redirecting.
*Refresh the page if both solutions are known.
-This mode will allow you to "speedrun" the selection/saving process for the solutions, resulting in faster list creation.

Completed:
-Importing/exporting of solution lists.
-Detect if you have been redirected to the "incorrect answer" page, and if so, delete the last two entries, then reload the captcha. This will prevent persistent incorrect solutions.
-Add comments to better reflect the code's functionality.
-Add scalability for different numbers of images.
-Make clicking the images save the solution rather than buttons.
-Improve the UI to better match KissAnime.