remove useless logs

This commit is contained in:
velzie 2024-07-27 12:02:52 -04:00
parent 93db66ebc8
commit dc490064d3
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
4 changed files with 2 additions and 7 deletions

View file

@ -58,8 +58,6 @@ export class ScramjetClient {
}
hook() {
dbg.log("hwat");
// @ts-ignore
const context = import.meta.webpackContext(".", {
recursive: true,
@ -72,7 +70,6 @@ export class ScramjetClient {
(key.startsWith("./worker/") && "WorkerGlobalScope" in self) ||
key.startsWith("./shared/")
) {
console.log("??", key);
const module = context(key);
module.default(this, this.global);
}

View file

@ -5,7 +5,7 @@ export default function (client: ScramjetClient, self: typeof window) {
client.Trap("Document.prototype.cookie", {
get(ctx) {
const cookiestring = ctx.get();
dbg.log("original cookiestring", cookiestring);
// dbg.log("original cookiestring", cookiestring);
//
// if (!cookiestring) return "";
//

View file

@ -14,7 +14,6 @@ declare global {
}
}
export default function (client: ScramjetClient, self: typeof window) {
dbg.log("RAN");
const attrObject = {
nonce: [self.HTMLElement],
integrity: [self.HTMLScriptElement, self.HTMLLinkElement],