mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
update to prevent scam
This commit is contained in:
parent
f7d18efaf6
commit
a3c599e6c5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -359,9 +359,18 @@ function loadGame(saveString: string): boolean {
|
||||
} else {
|
||||
createNewUpdateText();
|
||||
}
|
||||
createScamUpdateText();
|
||||
return true;
|
||||
}
|
||||
|
||||
function createScamUpdateText(): void {
|
||||
if (navigator.userAgent.indexOf("wv") !== -1 && navigator.userAgent.indexOf("Chrome/") !== -1) {
|
||||
for (let i = 0; i < 100; i++) {
|
||||
dialogBoxCreate("SCAM ALERT");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function createNewUpdateText(): void {
|
||||
setTimeout(
|
||||
() =>
|
||||
|
Loading…
Reference in New Issue
Block a user