From 13e55efa83c03c52cacd36ceecf521e7924565fb Mon Sep 17 00:00:00 2001 From: Percs <83934299+Percslol@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:19:43 -0500 Subject: [PATCH] chore: cleanup --- src/client/client.ts | 8 -------- src/shared/rewriters/html.ts | 1 - 2 files changed, 9 deletions(-) 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"], },