rem: c += '<button onclick="window.open(this.textContent)">' + uc + '</button><br>'; 
add: var mpContent = ''; if (url.MozParams) { for each (var mp in url.MozParams) {  if (mp.condition == 'pref') { mpContent += ', using pref ' + mp.name + '=' + mp.pref; } } } c += '<button onclick="window.open(this.textContent)">' + uc + '</button>' +mpContent+ '<br>'; 
context:   showDetail: function(event) {    delete this.pending;    if (!this._dv) {      this._dv = new YAHOO.widget.Panel('dv', {visible:true,draggable:true,constraintoviewport:true});      this._dv.beforeHideEvent.subscribe(function(){delete this._dv;}, null);    }    var dt = event.details;    if (dt.error) {      this._dv.setHeader("Error");      this._dv.setBody(dt.error);    }    else {      this._dv.setHeader("Details");      var c = '';      var q = 'test';      var len = 0;      for each (var url in dt.urls) {        var uc = url.template;        var sep = (uc.indexOf('?') > -1) ? '&amp;' : '?';        for (var p in url.params) {          uc += sep + p + '=' + url.params[p];          sep = '&amp;';        }        uc = uc.replace('{searchTerms}', q);        c += '<button onclick="window.open(this.textContent)">' + uc + '</button><br>';        len  = len < c.length ? c.length : len;      }      this._dv.setBody(c);    }    this._dv.render(document.body);    this._dv.moveTo(event.clientX + window.scrollX, event.clientY + window.scrollY);    this._dv.show();  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/efd691aad16921014b7669d108f9fdafb8d89e46/search-code.js/clean/testing/tests/l10n/web/search-code.js