diff --git a/src/shared/rewriters/html.ts b/src/shared/rewriters/html.ts index f27c655..f86d651 100644 --- a/src/shared/rewriters/html.ts +++ b/src/shared/rewriters/html.ts @@ -142,12 +142,16 @@ export const htmlRules: { }, src: ["video", "audio"], }, + { + fn: () => "", + + integrity: ["script", "link"], + }, { fn: () => null, // csp stuff that must be deleted nonce: "*", - integrity: ["script", "link"], csp: ["iframe"], credentialless: ["iframe"], },