I just have the debugging dialogs turned off in my browser -JavaScript runs but any call to confirm just returns true without displaying a debugging message first.īefore I turned off confirm() I always used to select the “Stop Scripts executing on this page” option rather than the “ok” or 'cancel alternatives as that was the first of the three alternatives confirm offered and if the page owner wanted me to turn off JavaScript by using a debugging call to ask me to then I of course did what their dialog asked me to.