I'm pretty sure that prompt will hang indefinitely for user agents it doesn't recognize (because bot detection is almost impossible these days).