rem: client.currentObject.name); 
add: client.currentObject.unicodeName); 
context: function onOutputContextMenuCreate(e){    function evalIfAttribute (node, attr)    {        var expr = node.getAttribute(attr);        if (!expr)            return true;                expr = expr.replace (/\Wor\W/gi, " || ");        expr = expr.replace (/\Wand\W/gi, " && ");        return eval("(" + expr + ")");    }            var target = document.popupNode;    var foundSomethingUseful = false;        do    {        if ("tagName" in target &&            (target.tagName == "html:a" || target.tagName == "html:td"))            foundSomethingUseful = true;        else            target = target.parentNode;    } while (target && !foundSomethingUseful);        var targetType = createPopupContext(e, target);    var targetClass = ("targetClass" in client._popupContext) ?        client._popupContext.targetClass : "";    var viewType = client.currentObject.TYPE;    var targetIsOp = "n/a";    var targetIsVoice = "n/a";    var iAmOp = "n/a";    var targetUser = ("user" in client._popupContext) ?        String(client._popupContext.user) : "";    var details = getObjectDetails(client.currentObject);    var targetServer = ("server" in details) ? details.server : "";    if (targetServer && targetUser == "ME!")    {        targetUser = targetServer.me.nick;    }    var targetProperNick = targetUser;    if (targetServer && targetUser in targetServer.users)        targetProperNick = targetServer.users[targetUser].properNick;        if (viewType == "IRCChannel" && targetUser)    {        if (targetUser in client.currentObject.users)        {            var cuser = client.currentObject.users[targetUser];            targetIsOp = cuser.isOp ? "yes" : "no";            targetIsVoice = cuser.isVoice ? "yes" : "no";        }                var server = getObjectDetails(client.currentObject).server;        if (server &&            server.me.nick in client.currentObject.users &&            client.currentObject.users[server.me.nick].isOp)        {            iAmOp =  "yes";        }        else        {            iAmOp = "no";        }    }    var popup = document.getElementById ("outputContext");    var menuitem = popup.firstChild;    do    {        if (evalIfAttribute(menuitem, "visibleif"))        {            menuitem.setAttribute ("hidden", "false");        }        else        {            menuitem.setAttribute ("hidden", "true");            continue;        }                if (menuitem.hasAttribute("checkedif"))        {            if (evalIfAttribute(menuitem, "checkedif"))                menuitem.setAttribute ("checked", "true");            else                menuitem.setAttribute ("checked", "false");        }                    var format = menuitem.getAttribute("format");        if (format)        {            format = format.replace (/\$nick/gi, targetProperNick);            format = format.replace (/\$viewname/gi,                                     client.currentObject.name);            menuitem.setAttribute ("label", format);        }            } while ((menuitem = menuitem.nextSibling));    return true;}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/7c2c48c295c5212a3264b8290dd6b32b4255d2b8/handlers.js/clean/xul/content/handlers.js