extending alert in ie

Giganews Newsgroups
Subject: extending alert in ie
Posted by:  pantagruel (rasmussen.bry…@gmail.com)
Date: Sat, 03 Nov 2007

Hi,
the following works in FF but not IE:

Object.prototype.describe=function(){alert("Description: " +
this);return this}
alert.describe();

The question I have is mainly how can one go about extending the
behavior of native objects in IE?

Replies