PERCS PLEASE FILL THIS IN dot js

This commit is contained in:
Toshit Chawda 2024-10-29 20:34:22 -07:00
parent 6882ceff9b
commit 9bd880ac8a
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
9 changed files with 163 additions and 161 deletions

View file

@ -202,7 +202,7 @@ export default function (client: ScramjetClient, self: typeof window) {
set(ctx, value: string) {
let newval;
if (ctx.this instanceof self.HTMLScriptElement) {
newval = rewriteJs(value, client.meta);
newval = rewriteJs(value, "(anonymous script element)", client.meta);
} else if (ctx.this instanceof self.HTMLStyleElement) {
newval = rewriteCss(value, client.meta);
} else {