problem description
how to make the browser pop up a login box, like Tomcat login
the environmental background of the problems and what methods you have tried
this is the only input mode in the pop-up dialog
var user = window.prompt ("Please enter your name", ");
related codes
/ / Please paste the code text below (do not replace the code with pictures)