No more annoying borders.

This commit is contained in:
incognitotgt 2023-12-31 21:45:45 -05:00
parent 146ef7dc21
commit a1b1dfd99a

View file

@ -7,7 +7,13 @@ export function AboutBlank(props: { url: string }) {
iframe.style.width = "100%";
iframe.style.height = "100%";
iframe.style.border = "none";
iframe.style.overflow = "hidden";
iframe.style.margin = "0";
iframe.style.padding = "0";
iframe.style.position = "fixed";
iframe.style.top = "0";
iframe.style.bottom = "0";
iframe.style.left = "0";
iframe.style.right = "0";
newWindow.document.body.appendChild(iframe);
window.location.replace("https://google.com");
return (