jeudi 30 juillet 2015

Fill up fields with random names with iMacro

I currently use iMacro for Firefox for quick form filling with random letters.

SET !VAR1 EVAL("var letters = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','w','x','y','z']; var string = ''; for(var i = 0; i < 11; i++){string += letters[parseInt(Math.random() * 25)]}; string")
EVENT TYPE=CLICK SELECTOR="#namex" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#namex" CHARS="{{!var1}}"

Result is e.g. adionudmeai.

I have a text file that containing one hundred thousand names in this format.

johny.hunter
tim.davies
emil.bernadette

I want to use this names instead of the random combinations with two additional random numbers at the end.

The end result should look like bill.cayne32.




Aucun commentaire:

Enregistrer un commentaire