Random list generation too slow

Would it be acceptable to end up with an extra trial or two at the end of the experiment? If so then you might find my “Randomisation without repetition” online demo useful.