How do I call HTMLDocument.prototype.write?

I have a scriptlet that calls document.write(“something”). On some pages it fails because document.write has been redefined. According to this page I can however find the old definition of the function:

Fixing the JavaScript typeof operator | JavaScript, JavaScript… http://javascriptweblog.wordpress.com/2011/08/08/fixing-the-javascript-typeof-operator/

So it is in HTMLDocument.prototype.write – but how do I call it??

Leave a Reply