mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-12 14:55:22 +00:00
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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user