percs i swear to god

This commit is contained in:
velzie 2024-07-31 13:14:06 -04:00
parent 30c95934ed
commit b180272b17
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
4 changed files with 12 additions and 13 deletions

View file

@ -102,7 +102,6 @@ function traverseParsedHtml(node, origin?: URL) {
const htmlcomment = /<!--[\s\S]*?-->/g;
js = js.replace(htmlcomment, "");
node.children[0].data = rewriteJs(js, origin);
console.log(node.children);
}
if (node.name === "meta" && hasAttrib(node, "http-equiv")) {
if (node.attribs["http-equiv"] === "content-security-policy") {