NotIeDomExtensions.js 2.3 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: irot
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. Node.prototype.__defineGetter__("text",function(){return _999._598(this);});Node.prototype.__defineSetter__("text",function(s){return _999._y98(this, s);});Node.prototype.selectSingleNode=function(_ky8){return _999._7y2(this, _ky8);};Node.prototype.selectNodes=function(_ky8){return _999._mw5(this, _ky8);};XMLDocument.prototype._iu=XMLDocument.prototype.createElement;XMLDocument.prototype.createElement=function(_jo7){return _cy5._mk4(this, _jo7);};Element.prototype._dk=Element.prototype.removeAttribute;Element.prototype.removeAttribute=function(_969){if(this instanceof HTMLElement){this._dk(_969);return;}_qa8._5g3(this, _969);};if(!window["requestAnimationFrame"]){window.requestAnimationFrame=(window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame);};if(!window["cancelAnimationFrame"]){window.cancelAnimationFrame=(window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame);};HTMLElement.prototype.__defineGetter__("xml",function(){debugger;throw 'Don\'t use "xml" on an HTML element';});HTMLElement.prototype.__defineGetter__("text",function(){debugger;throw 'Don\'t use "text" on an HTML element';});HTMLElement.prototype.__defineSetter__("text",function(s){debugger;throw 'Don\'t use "text" on an HTML element';});HTMLElement.prototype.selectSingleNode=function(_ky8){debugger;throw 'Don\'t use "selectSingleNode" on an HTML element';};HTMLElement.prototype.selectNodes=function(_ky8){debugger;throw 'Don\'t use "selectNodes" on an HTML element';};Node.prototype.__defineGetter__("innerHTML",function(){debugger;throw 'Don\'t use "innerHTML" on an XML node';});Node.prototype.__defineSetter__("innerHTML",function(s){debugger;throw 'Don\'t use "innerHTML" on an XML node';});Node.prototype.__defineGetter__("outerHTML",function(){debugger;throw 'Don\'t use "outerHTML" on an XML node';});Node.prototype.__defineSetter__("outerHTML",function(s){debugger;throw 'Don\'t use "outerHTML" on an XML node';});Node.prototype.__defineGetter__("innerText",function(){debugger;throw 'Don\'t use "innerText" on an XML node';});Node.prototype.__defineSetter__("innerText",function(s){debugger;throw 'Don\'t use "innerText" on an XML node';});