1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

solves 1114 (#20307)

* fixes 207
This commit is contained in:
witmicko 2023-08-01 07:04:23 +01:00 committed by Dan J Miller
parent b74ab3f26c
commit bc4a000c26

View File

@ -615,6 +615,12 @@ function redirectToPhishingWarning() {
const querystring = new URLSearchParams({ hostname, href }); const querystring = new URLSearchParams({ hostname, href });
window.location.href = `${baseUrl}#${querystring}`; 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 = () => { const start = () => {