microformat-shiv.js
function () {
            if (typeof DOMParser === undefined) {
                try {
                    return Components.classes["@mozilla.org/xmlextras/domparser;1"]
                        .createInstance(Components.interfaces.nsIDOMParser);
                } catch (e) {
                    return;
                }
            } else {
                return new DOMParser();
            }
        }
function () {
            if (typeof DOMParser === undefined) {
                try {
                    return Components.classes["@mozilla.org/xmlextras/domparser;1"]
                        .createInstance(Components.interfaces.nsIDOMParser);
                } catch (e) {
                    return;
                }
            } else {
                return new DOMParser();
            }
        }
function ( ) { if ( typeof DOMParser === undefined ) { try { return Components . classes [ "@mozilla.org/xmlextras/domparser;1" ] . createInstance ( Components . interfaces . nsIDOMParser ) ; } catch ( e ) { return ; } } else { return new DOMParser ( ) ; } }
gets DOMParser object

@return {Object || undefined}
gets DOMParser object