Following overriding-alert question, I have overwritten all alerts:
window.alert = function() {
// access text
console.log(this);
};
Is there a way to access the original alert(the overwritten that I catched) text? this
shows the window
object.