Imagine having the window object's alert method and wanting to improve it with a stylish alert box.
Furthermore, preserving the current alert method for switching back after our application completes.
We attempted something like this code snippet below, but encountered errors in Firefox console.
window.prototype.alert = function(){
}