Posted By

inamorix on 01/09/08


Tagged

js


Versions (?)

alert with Force Quit


 / Published in: JavaScript
 

  1. window.alert = function (msg) {
  2. if (!confirm(msg)) throw new Error('Force Quit');
  3. };

Report this snippet  

You need to login to post a comment.