cookie communication

This commit is contained in:
velzie 2024-08-24 17:54:28 -04:00
parent bac00de12b
commit c1aecdf3a8
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
3 changed files with 32 additions and 7 deletions

View file

@ -16,8 +16,7 @@ dbg.log("scrammin");
if (!(ScramjetClient.SCRAMJET in self)) {
const client = new ScramjetClient(self);
client.loadcookies(self.COOKIE);
delete self.COOKIE;
if (self.COOKIE) client.loadcookies(self.COOKIE);
client.hook();