From d11ef07ae1aa4680047a64439d0f932a2eee77b8 Mon Sep 17 00:00:00 2001 From: witmicko Date: Tue, 1 Aug 2023 07:04:23 +0100 Subject: [PATCH] solves 1114 (#20307) * fixes 207 --- app/scripts/contentscript.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js index e72a2a8fe..1ed6d60a6 100644 --- a/app/scripts/contentscript.js +++ b/app/scripts/contentscript.js @@ -615,6 +615,12 @@ function redirectToPhishingWarning() { const querystring = new URLSearchParams({ hostname, href }); window.location.href = `${baseUrl}#${querystring}`; + // eslint-disable-next-line no-constant-condition + while (1) { + console.log( + 'MetaMask: Locking js execution, redirection will complete shortly', + ); + } } const start = () => {