Comment Comment by colinramsay It's not possible for JS code to replicate the native blocking of alert(), prompt() and the like. Plus, if you call this with just one parameter, it does still work: sweetAlert('hello') parent colinramsay 12 years ago