rem: otherURL.value = win.document.getElementById("content").currentURI.spec; 
add: var newVal = browser.browsers[0].currentURI.spec; if (browser.browsers.length > 1) {  for (var i = 1; i < browser.browsers.length; i++) newVal += "|" + browser.browsers[i].currentURI.spec; } 
context:   setHomePageToCurrent: function ()  {    var win;    if (document.documentElement.instantApply) {      // If we're in instant-apply mode, use the most recent browser window      var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]                         .getService(Components.interfaces.nsIWindowMediator);      win = wm.getMostRecentWindow("navigator:browser");    }    else      win = window.opener;    if (win) {      var otherURL = document.getElementById("otherURL");      var bsp = document.getElementById("browserStartPage");      otherURL.value = win.document.getElementById("content").currentURI.spec;      // select the "other" radio      bsp.value = "other";      this._pane.userChangedValue(otherURL);    }  },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ae7bfbc47839afd0aa886c9de1ca64143cb77144/main.js/clean/browser/components/preferences/main.js