In reality, even if this is satire (which I believe it is) I'm sure if enough people will know about it, at least one of them will use it seriously.
If you want to go the other way, try
window.onerror = window.close;
In reality, even if this is satire (which I believe it is) I'm sure if enough people will know about it, at least one of them will use it seriously.