Question easy static javascript

Oct 9, 2019
1
0
10
0
Hi there,

i just started using chromes extension called 'fake data', and what it do is, generating random data for regestration on a certain web sites.

it uses this javascript :

.....................................................................................................................................................................
var email = "removed";

var min = 10000;
var max = 99990;
var rand = Math.floor(Math.random() * (max - min + 1)) + min;
var email_split = email.split('@');

window.last_generated_email = email_split[0]+'+faker'+rand+'@'+email_split[1];

return window.last_generated_email;
.....................................................................................................................................................................

the problem is, i want to use a static email, a unique email.

can you guys help me with the code so the email show exactly the same always.

thank you :).
 
Last edited by a moderator:

ASK THE COMMUNITY

TRENDING THREADS