dom - Return default value to predefined javascript objects in concrete circumstances -


some days ago, asked question , was:

how return default value predefined javascript object or function (like object window.console, or object-function document.getelementbyid) once has been changed?

posted here: return default value predefined javascript object

the solution wasn't enough, because possibility return default value based on creating iframe object , insert current dom. but, have possibility override functions let client-side insert nodes dom, document.appendchild, document.insertbefore, ... example, concrete circunstances know if possible return default value predefeined javascript object, "console", "window", or anyone, these:

htmldocument.prototype.createelement = undefined; htmldocument.prototype.createattribute = undefined; htmldocument.prototype.createcomment = undefined; htmldocument.prototype.createdocumentfragment = undefined; htmldocument.prototype.createelement = undefined; htmldocument.prototype.createtextnode = undefined; node.prototype.appendchild = undefined; node.prototype.clonenode = undefined; node.prototype.insertbefore = undefined; node.prototype.removechild = undefined; node.prototype.replacechild = undefined; 

i hope question concise enough. the final question solve is: there code-context in impossible return default value predefined javascript object console, example? questions go around final one. thank you!


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -