rem: if ('*' == sTestDomain[0]) { 
add: var sTestDomain = aDomains[x]; 
context: function DomainInSkipList(sDomain){	var bSkipDomainFlag = false;	if ('/' == sDomain[sDomain.length - 1]) {		sDomain = sDomain.substring(0, sDomain.length - 1);	}	try {		var pref = Components.classes["@mozilla.org/preferences;1"];		if (pref) pref = pref.getService();		if (pref) pref = pref.QueryInterface(Components.interfaces.nsIPref);		if (pref) {			var sDomainList = pref.CopyCharPref("browser.related.disabledForDomains");			if ((sDomainList) && (sDomainList != "")) {				var aDomains = sDomainList.split(",");				// split on commas				for (var x=0; x < aDomains.length; x++) {					var sDomainCopy = sDomain;					var sTestDomain = aDomains[x];					if ('*' == sTestDomain[0]) { // wildcard match                        // strip off the asterisk						sTestDomain = sTestDomain.substring(1);							if (sDomainCopy.length > sTestDomain.length) {                            var sDomainIndex = sDomain.length - sTestDomain.length;							sDomainCopy = sDomainCopy.substring(sDomainIndex);						}					}					if (0 == sDomainCopy.lastIndexOf(sTestDomain)) {						bSkipDomainFlag = true;						break;					}				}			}		}	} catch(ex) {	}	return(bSkipDomainFlag);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/faf03ce445712b372523f881cc3144cfadc7a611/related-panel.js/clean/xpfe/components/related/resources/related-panel.js