rem: if (aEvent.altKey) 
add: if (aEvent.altKey || !window.InstallTrigger) 
context: function install( aEvent, extName, iconURL, extHash)  {       if (aEvent.altKey)        return true;    var url = aEvent.target.href;    if (!url) {        // rustico puts it somewhere else, of course        url = aEvent.target.parentNode.href;    }    if (url.match(/^.+\.xpi$/)) {        var params = new Array();        params[extName] = {            URL: url,            IconURL: iconURL,            toString: function () { return this.URL; }        };        // Only add the Hash param if it exists.        //        // We optionally add this to params[] because installTrigger        // will still try to compare a null hash as long as the var is set.        if (extHash) {            params[extName].Hash = extHash;        }        InstallTrigger.install(params);        try {            var p = new XMLHttpRequest();            p.open("GET", "/install.php?uri=" + url, true);            p.send(null);        } catch(e) { }        return false;    }    return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6342b50cfc6a722779969b917b823170b6cc1d77/install.js/buggy/webtools/addons/public/htdocs/js/install.js