How can I create a custom alert function in Javascript?
"override" way is not good enough, suggest you to create a custom popup box. The best benefit of this solution is that you can control every details.