Utilisateur:TiChou/HTMLElement.htc
<PUBLIC:COMPONENT>
<script type="text/javascript">
alert("Ok");
for(var i in HTMLElement.prototype)
element[i] = HTMLElement.prototype[i];
if (typeof element.nodeName != 'undefined'
&& element.nodeName != '#document'
&& element.nodeName != '#comment') {
var constructorName = 'HTML' + constructors[element.nodeName] + 'Element';
for(var i in eval(constructorName).prototype)
element[i]= eval(constructorName).prototype[i];
}
</script>
</PUBLIC:COMPONENT>