blob: b53f4cfcef6c1edc50b31e70a96d791716fc6aec (
plain)
1
2
3
4
5
6
7
8
9
10
|
import { client } from "../client";
import setCookie from "../utils/setCookie";
export function hcallback(hcaptcharesponse: string) {
setCookie('hdid', client.hdid);
client.sender.sendServer(`2T#${hcaptcharesponse}#%`);
location.reload();
}
window.hcallback = hcallback;
|