Skip to content

Commit

Permalink
feat: add html frame support
Browse files Browse the repository at this point in the history
  • Loading branch information
Percslol committed Nov 22, 2024
1 parent 4263fec commit a8f9073
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/client/dom/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions src/shared/rewriters/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export const htmlRules: {
"img",
"image",
"iframe",
"frame",
"source",
"input",
"track",
Expand Down

0 comments on commit a8f9073

Please sign in to comment.