From edf55413058132cf0beacd38684b9de4a25f76db Mon Sep 17 00:00:00 2001 From: Anton Georgiev Date: Fri, 14 Nov 2025 12:46:35 -0500 Subject: [PATCH] fix: add noreferrer and noopener to window.open --- src/tour/getTourFeatures.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tour/getTourFeatures.js b/src/tour/getTourFeatures.js index 3c189a8..bcc75c1 100644 --- a/src/tour/getTourFeatures.js +++ b/src/tour/getTourFeatures.js @@ -149,7 +149,7 @@ const getBackButton = (intl, tour) => ({ const getKnowMoreButton = (intl, url) => ({ text: intl.formatMessage(intlMessages.knowMore), - action: () => { window.open(url); }, + action: () => { window.open(url, '_blank', 'noopener,noreferrer'); }, secondary: true, });