From cc3a83d7673af32d669e7acad53c6e74beb35b17 Mon Sep 17 00:00:00 2001 From: ner Date: Sat, 30 Aug 2025 13:58:02 +0300 Subject: [PATCH] fix: prevent new tab from being focused --- .../components/TorrentsTable/components/Actions/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx b/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx index c0d4dda..9d5cca1 100644 --- a/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx +++ b/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx @@ -61,7 +61,8 @@ const Actions: FC = ({ torrent, backdrop, title, provider, playerEntryId, const handleM3ULink = () => { const link = window.open( `${M3UUrl}${encodeURIComponent(`${streamUrl}/stream?m3u&link=${encodeURIComponent(magnet)}`)}`, - '_blank' + '_blank', + 'noopener,noreferrer' ); setTimeout(() => link?.close(), 1000); };