|
|
@@ -364,7 +364,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
element.remove();
|
|
|
}
|
|
|
});
|
|
|
- this.doc.querySelectorAll("meta[http-equiv=\"content-security-policy\"").forEach(element => element.remove());
|
|
|
+ this.doc.querySelectorAll("meta[http-equiv=\"content-security-policy\"], input[type=hidden]").forEach(element => element.remove());
|
|
|
this.doc.querySelectorAll("a[ping]").forEach(element => element.removeAttribute("ping"));
|
|
|
if (this.options.removeScripts) {
|
|
|
this.onEventAttributeNames.forEach(attributeName => this.doc.querySelectorAll("[" + attributeName + "]").forEach(element => element.removeAttribute(attributeName)));
|