diff --git a/src/client/client.ts b/src/client/client.ts index c2fd5bb..c755802 100644 --- a/src/client/client.ts +++ b/src/client/client.ts @@ -18,14 +18,6 @@ import { createWrapFn } from "./shared/wrap"; import { NavigateEvent } from "./events"; import type { URLMeta } from "../shared/rewriters/url"; -declare global { - interface Window { - $s: any; - $tryset: any; - $sImport: any; - } -} - //eslint-disable-next-line export type AnyFunction = Function; diff --git a/src/shared/rewriters/html.ts b/src/shared/rewriters/html.ts index 1bbdf28..5651ab5 100644 --- a/src/shared/rewriters/html.ts +++ b/src/shared/rewriters/html.ts @@ -147,7 +147,6 @@ export const htmlRules: { // csp stuff that must be deleted nonce: "*", - crossorigin: "*", integrity: ["script", "link"], csp: ["iframe"], },