From 8a0eb1bcdec9db8f089aee5eac66aa12c7a854fb Mon Sep 17 00:00:00 2001 From: Eric Lau Date: Mon, 26 Jun 2023 09:30:19 -0400 Subject: [PATCH] Add noopener,noreferrer to Remix link --- packages/ui/src/App.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/App.svelte b/packages/ui/src/App.svelte index 8c18f532..f7944102 100644 --- a/packages/ui/src/App.svelte +++ b/packages/ui/src/App.svelte @@ -82,7 +82,7 @@ const { printContractVersioned } = await import('@openzeppelin/wizard/print-versioned'); const versionedCode = printContractVersioned(contract); - window.open(remixURL(versionedCode, !!opts?.upgradeable).toString(), '_blank'); + window.open(remixURL(versionedCode, !!opts?.upgradeable).toString(), '_blank', 'noopener,noreferrer'); if (opts) { await postConfig(opts, 'remix', language); }