Replace Components.classesByID with document.implementation.createDocument
- by Earl Smith
I am not the author of this code, but it is no longer maintained. So I am trying to fix it, but I have very little experience in javascript.
Since Firefox 9, Components.classesByID["{3a9cd622-264d-11d4-ba06-0060b0fc76dd}"]. has been obsolete. Instead, it is suggested that
document.implementation.createDocument be used. Can someone here show me how…