mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
Update on page challenge to just reload after removing cookies
This commit is contained in:
@ -83,6 +83,7 @@ function clearCookiesForDomains(domain) {
|
|||||||
document.cookie = `_basedflare_pow=; Max-Age=-9999999; Path=/; Domain=.${subdomain}`;
|
document.cookie = `_basedflare_pow=; Max-Age=-9999999; Path=/; Domain=.${subdomain}`;
|
||||||
document.cookie = `_basedflare_captcha=; Max-Age=-9999999; Path=/; Domain=.${subdomain}`;
|
document.cookie = `_basedflare_captcha=; Max-Age=-9999999; Path=/; Domain=.${subdomain}`;
|
||||||
}
|
}
|
||||||
|
location.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
function postResponse(powResponse, captchaResponse) {
|
function postResponse(powResponse, captchaResponse) {
|
||||||
|
2
src/js/challenge.min.js
vendored
2
src/js/challenge.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user