rem: doc.load(getScriptChrome("config.xml")); 
add: try { doc.load(getScriptChrome("config.xml")); } catch (exc) { doc.load(getScriptChrome("default-config.xml")); } 
context: 	this.load = function() {		var doc = document.implementation.createDocument("", "", null);		doc.async = false;		doc.load(getScriptChrome("config.xml"));		var nodes = document.evaluate("/UserScriptConfig/Script", doc, null, 0, null);		this.scripts = [];		for (var node = null; (node = nodes.iterateNext()); ) {			var script = new Script();			for (var i = 0, childNode = null; (childNode = node.childNodes[i]); i++) {				if (childNode.nodeName == "Include") {					script.includes.push(childNode.firstChild.nodeValue);				}				else if (childNode.nodeName == "Exclude") {					script.excludes.push(childNode.firstChild.nodeValue);				}			}			script.id = node.getAttribute("id");			script.name = node.getAttribute("name");			script.namespace = node.getAttribute("namespace");			script.description = node.getAttribute("description");			script.enabled = node.getAttribute("enabled") == true.toString();			this.scripts.push(script);		}	}
meta: 9744	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9744/93cdf35046325b8aae790fb34f96e307db2c2f49/greasemonkey.js/buggy/src/content/greasemonkey.js