views:

132

answers:

1

Is it possible to overwrite 'alert' messages like this plugin overwrites 'confirm'?

+1  A: 

You can override the alert function

window.alert = function specailAlert(msg) {
   //some facny code here
}
Svetlozar Angelov
Thanks, I'll try this.
understack