Ok, I may have found enough information that I should be able to put this together myself, but I just can't.
I'm trying (because reasons) to get string input from users by calling something like this:
var myVar = prompt("Some question?");
I want the prompt popup to automatically submit after, say, 30 seconds. Then I want the script to keep running. I want to use prompt because it's easy. Is there a way to auto submit that based on a timer?
I feel like the key might be somewhere in these two links:
Click a button every second
Do I need to use a popup, not a prompt?
Or do I need to use a form?
Thanks in advance for the help. New user here, and I don't think this question has been answered before.