Prevent js alert() from pausing timers

后端 未结 8 939
花落未央
花落未央 2021-01-06 01:54

So I made some timers for a quiz. The thing is, I just realized when I put

javascript: alert(\"blah\");

in the address, the popup alert bo

8条回答
  •  猫巷女王i
    2021-01-06 02:22

    It's modal and stops execution. Consider an alternative which does not pause execution like a Lightbox technique.

提交回复
热议问题