X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/525e81bdbe18ea369f5a61a713e743608bab2e42..44c8f9ed561513b607d3eca752ad3e1efd376f56:/services/workbench2/src/store/open-in-new-tab/open-in-new-tab.actions.ts diff --git a/services/workbench2/src/store/open-in-new-tab/open-in-new-tab.actions.ts b/services/workbench2/src/store/open-in-new-tab/open-in-new-tab.actions.ts index 83055e32fc..2d1ab2e40d 100644 --- a/services/workbench2/src/store/open-in-new-tab/open-in-new-tab.actions.ts +++ b/services/workbench2/src/store/open-in-new-tab/open-in-new-tab.actions.ts @@ -12,14 +12,14 @@ export const openInNewTabAction = (resource: any) => (dispatch: Dispatch, getSta const url = getNavUrl(resource.uuid, getState().auth); if (url[0] === "/") { - window.open(`${window.location.origin}${url}`, "_blank"); + window.open(`${window.location.origin}${url}`, "_blank", "noopener"); } else if (url.length) { - window.open(url, "_blank"); + window.open(url, "_blank", "noopener"); } }; export const copyToClipboardAction = (resources: Array) => (dispatch: Dispatch, getState: () => RootState) => { - // Copy to clipboard omits token to avoid accidental sharing + // Copy link to clipboard omits token to avoid accidental sharing let url = getNavUrl(resources[0].uuid, getState().auth, false); let wasCopied;