function _isNotChromeDoc(aDocument) {
    let location = aDocument.DOMNode.location;
    if (!location)
      return false;

    return location.protocol != "about:";
  }
/**
   * Check if document is not a local "chrome" document, like about:home.
   * @param {nsIDOMDocument} aDocument the document to check.
   * @return {boolean} true if this is not a chrome document.
   */
Check if document is not a local "chrome" document, like about:home.
@param {nsIDOMDocument} aDocument the document to check.
@return {boolean} true if this is not a chrome document.
Check if document is not a local " chrome " document like about : home . @param { nsIDOMDocument } aDocument the document to check . @return { boolean } true if this is not a chrome document .
function _isNotChromeDoc(aDocument) {
    let location = aDocument.DOMNode.location;
    if (!location)
      return false;
    return location.protocol != "about:";
  }
function _isNotChromeDoc ( aDocument ) { let location = aDocument . DOMNode . location ; if ( ! location ) return false ; return location . protocol != "about:" ; }
Check if document is not a local "chrome" document, like about:home.
Check if document is not a local " chrome " document like about : home .