diff --git a/src/client/dom/element.ts b/src/client/dom/element.ts index 12a58dd..46b47cf 100644 --- a/src/client/dom/element.ts +++ b/src/client/dom/element.ts @@ -18,6 +18,7 @@ export default function (client: ScramjetClient, self: typeof window) { self.HTMLImageElement, self.HTMLMediaElement, self.HTMLIFrameElement, + self.HTMLFrameElement, self.HTMLEmbedElement, self.HTMLScriptElement, self.HTMLSourceElement, diff --git a/src/shared/rewriters/html.ts b/src/shared/rewriters/html.ts index f2e2f0c..c8ff137 100644 --- a/src/shared/rewriters/html.ts +++ b/src/shared/rewriters/html.ts @@ -122,6 +122,7 @@ export const htmlRules: { "img", "image", "iframe", + "frame", "source", "input", "track",