Fix opening links with noreferrer

rel="noreferrer" has the same effect as rel="noopener", but also
prevents the Referer header from being sent to the new page.
[https://mui.com/material-ui/react-link/#security]

If this feature is set, the browser will omit the Referer header,
as well as set noopener to true.
[https://developer.mozilla.org/en-US/docs/Web/API/Window/open#noreferrer]
This commit is contained in:
Dmitry Lyzo
2026-04-28 11:38:56 +03:00
parent 802c0a4c30
commit 6ba3b7c8be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ export const formatPrice = (n) => {
};
export const openUrl = (url) => {
window.open(url, "_blank", "noopener,noreferrer");
window.open(url, "_blank", "noreferrer");
};
export const sounds = {