rem: var htmlString = "<A HREF='" + uri + "'>" + title + "</A>"; aXferData.data = new TransferData(); aXferData.data.addDataForFlavour("text/unicode", uri); aXferData.data.addDataForFlavour("text/html", htmlString); aXferData.data.addDataForFlavour("text/x-moz-url", uri + "\n" + title); } 
add: var htmlString = "<A HREF='" + url + "'>" + title + "</A>"; aXferData.data = new TransferData(); aXferData.data.addDataForFlavour("text/unicode", url); aXferData.data.addDataForFlavour("text/html", htmlString); aXferData.data.addDataForFlavour("text/x-moz-url", url + "\n" + title); } 
context:   onDragStart: function (aEvent, aXferData, aDragAction)  {    var title = aEvent.target.getAttribute("label");    var uri = aEvent.target.parentNode.parentNode.id;    if (aEvent.target.localName != "treecell")     // make sure we have something to drag      return null;    var htmlString = "<A HREF='" + uri + "'>" + title + "</A>";    aXferData.data = new TransferData();    aXferData.data.addDataForFlavour("text/unicode", uri);    aXferData.data.addDataForFlavour("text/html", htmlString);    aXferData.data.addDataForFlavour("text/x-moz-url", uri + "\n" + title);  }
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/19436ec120b4af8d0dd45fcd2cd8b20335fe3bcd/history.js/clean/suite/common/history/history.js