mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-21 17:37:01 +01:00
parent
990dc33fc6
commit
d11ef07ae1
@ -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 = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user