mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
percs i swear to god
This commit is contained in:
parent
30c95934ed
commit
b180272b17
4 changed files with 12 additions and 13 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue