rem: try {  if (url.indexOf("file: { var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(); if (rdf)   rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService); if (rdf) { var fileSys = rdf.GetDataSource("rdf:files"); if (fileSys) { var src = rdf.GetResource(url, true); var prop = rdf.GetResource("http: var target = fileSys.GetTarget(src, prop, true); if (target)	target = target.QueryInterface(Components.interfaces.nsIRDFLiteral); if (target)	target = target.Value; if (target)	url = target;  } } } } catch(ex) { } 
add: try {  if (url.indexOf("file: { var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(); if (rdf)   rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService); if (rdf) { var fileSys = rdf.GetDataSource("rdf:files"); if (fileSys) { var src = rdf.GetResource(url, true); var prop = rdf.GetResource("http: var target = fileSys.GetTarget(src, prop, true); if (target) target = target.QueryInterface(Components.interfaces.nsIRDFLiteral); if (target) target = target.Value; if (target) url = target;  } } } } catch(ex) { } 
context: function OpenURL(event, node){    // clear any single-click/edit timeouts    if (timerID != null)    {        gEditNode = null;        clearTimeout(timerID);        timerID = null;    }    if (node.getAttribute('container') == "true")    {        return(false);    }    var url = node.getAttribute('id');    // Ignore "NC:" urls.    if (url.substring(0, 3) == "NC:")    {        return(false);    }	try	{		// add support for IE favorites under Win32, and NetPositive URLs under BeOS		if (url.indexOf("file://") == 0)		{			var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService();			if (rdf)   rdf = rdf.QueryInterface(Components.interfaces.nsIRDFService);			if (rdf)			{				var fileSys = rdf.GetDataSource("rdf:files");				if (fileSys)				{					var src = rdf.GetResource(url, true);					var prop = rdf.GetResource("http://home.netscape.com/NC-rdf#URL", true);					var target = fileSys.GetTarget(src, prop, true);					if (target)	target = target.QueryInterface(Components.interfaces.nsIRDFLiteral);					if (target)	target = target.Value;					if (target)	url = target;									}			}		}	}	catch(ex)	{	}    if(top.isEditor != undefined) {        dump("yay, top.isEditor is defined\n");        if(top.editorShell) {            dump("yay yay, top.editorShell exists, loading URL...\n");            toEditor(url);        }    } else {        dump("reg'lar bm window\n");        window.open(url,'bookmarks');    }        dump("OpenURL(" + url + ")\n");    return(true);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/sb-bookmarks.js/clean/editor/ui/composer/content/sb-bookmarks.js