rem: var srcFolder = GetLoadedMsgFolder(); var folderResource = srcFolder.QueryInterface(Components.interfaces.nsIRDFResource); var uri = folderResource.Value; if (isNewsURI(uri)) {  return; } 
add: MarkCurrentMessageAsRead(); ClearPendingReadTimer(); 
context: function MsgDeleteMessage(reallyDelete, fromToolbar){    // if from the toolbar, return right away if this is a news message    // only allow cancel from the menu:  "Edit | Cancel / Delete Message"    if (fromToolbar)    {        var srcFolder = GetLoadedMsgFolder();        var folderResource = srcFolder.QueryInterface(Components.interfaces.nsIRDFResource);        var uri = folderResource.Value;        if (isNewsURI(uri)) {            // if news, don't delete            return;        }    }    SetNextMessageAfterDelete();    if (reallyDelete) {        gDBView.doCommand(nsMsgViewCommandType.deleteNoTrash);    }    else {        gDBView.doCommand(nsMsgViewCommandType.deleteMsg);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/3a9325ea08333aca10ee51ffe31928a42cc39e03/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js