feat: add html frame support

This commit is contained in:
Percs 2024-11-21 23:46:07 -06:00
parent 4263feca61
commit a8f9073986
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@ export default function (client: ScramjetClient, self: typeof window) {
self.HTMLImageElement, self.HTMLImageElement,
self.HTMLMediaElement, self.HTMLMediaElement,
self.HTMLIFrameElement, self.HTMLIFrameElement,
self.HTMLFrameElement,
self.HTMLEmbedElement, self.HTMLEmbedElement,
self.HTMLScriptElement, self.HTMLScriptElement,
self.HTMLSourceElement, self.HTMLSourceElement,

View file

@ -122,6 +122,7 @@ export const htmlRules: {
"img", "img",
"image", "image",
"iframe", "iframe",
"frame",
"source", "source",
"input", "input",
"track", "track",