Commit Graph

12 Commits

Author SHA1 Message Date
ae7e715142
Add detailed usage instructions to README. 2023-12-02 20:24:04 +06:00
2f91b7fac2
Add copyright notice to script.js and style.css. 2023-12-02 19:57:06 +06:00
678a299fe5
The LICENSE file was renamed to LICENSE.md. 2023-12-02 19:52:25 +06:00
29b831f792
Added file LICENSE. 2023-12-02 02:45:45 +06:00
f7a07182c1
Minify JS and CSS for production. 2023-12-02 02:37:12 +06:00
4bac5c10a0
Adjust style.css path.
Adjusted the path to style.css to be dynamically set using 'data-static-path' attribute. This change allows stylesheets to be fetched from the correct path based on the consumed API.
2023-12-02 01:44:21 +06:00
04eacf66cd
Fixed an error with successful verification after updating the captcha. 2023-11-26 14:58:07 +06:00
c57a81d76b
Handle server rate limit in script.js
In the 'then' function of our AJAX request in script.js, I've added a condition to check for a response status of 429 which indicates too many requests. If this status is encountered, an error message will be shown prompting the user to refresh their CAPTCHA. This is to prevent the user from making excessive attempts unbeknownst to them.
2023-11-25 19:59:54 +06:00
876fcc9e6b
Add captcha validation error handling in script.js
A conditional block of code was added to handle the case when 'captcha_key' is not defined. This is to manage the scenario when captcha verification fails, providing an error message to the user and thus improving user experience.
2023-11-25 15:12:43 +06:00
23b71a09c6
Added fallback for empty error messages.
In the case where the data.errors object does not have any explicit errors, the diff adds a fallback. The resulting error message displayed will then be the general data message. This prevents situations where the user receives an empty error message.
2023-11-23 01:10:04 +06:00
fc7d1bd62f
The GUI for the Captcha service is ready. 2023-11-23 00:10:39 +06:00
e8c8cf7d6b Initial commit 2023-09-19 16:35:49 +06:00