How to freeze browser window intentionally (like alert, confirm and prompt does)?
问题 Is there any way of freezing the browser window intentionally like alert , confirm and prompt (in short: "acp") does? I want to show a modal dialog with custom css instead of the native popups for "acp" but also want to have the ability to freeze the browser until I have users feedback just like "acp". But man, why? This is bad practice (uh I have to downvote)! So when it is bad practice - then why does "acp" actually offer this synchronous behavior? Because in some particular scenarios its