abzubarev / web-developer-form-filler-ext

This extension is used by developers to make it easy to fill forms
MIT License
113 stars 54 forks source link

Random fragments #27

Closed GriffinSauce closed 3 years ago

GriffinSauce commented 6 years ago

It could be very useful to have a random fragment in output. That way a signup form can be tested without having to add some random stuff to the email/username. It could also help to differentiate test users by first name for example.

Implementation idea: On deserialisation, replace %RANDOM% keyword with a (pseudo)randomised string, limited to HEX is probably safest. This doesn't require any extra UI (except perhaps a hint in the popup).

Input: user+%RANDOM%@test.com Output: user+F35S234DFF34@test.com

I'd be willing to try a PR for this if you like the idea.

l00k commented 4 years ago

32 created. Meanwhile I'm using my version in developer mode

abzubarev commented 3 years ago

Added in recent version