rem: if (page != null) { var fixedUpURI = gURIFixup.createFixupURI(page, 2 /*fixup url*/ ); homepage = fixedUpURI.spec; 
add: if ( page.split("|").length > 1 ) { homepages = page.split("|"); } else { if (page != null) { var fixedUpURI = gURIFixup.createFixupURI(page, 2 /*fixup url*/ ); homepage = fixedUpURI.spec; } 
context:   function MiniNavStartup(){  var homepage = "http://www.mozilla.org";    try {        gBrowser = document.getElementById("content");        gURLBar = document.getElementById("urlbar");    gURLBar.setAttribute("completedefaultindex", "true");        var currentTab=gBrowser.selectedTab;    browserInit(currentTab);    gSelectedTab=currentTab;        gBrowserStatusHandler = new nsBrowserStatusHandler();    gBrowserStatusHandler.init();        window.XULBrowserWindow = gBrowserStatusHandler;    window.QueryInterface(nsIInterfaceRequestor)      .getInterface(nsIWebNavigation)      .QueryInterface(nsIDocShellTreeItem).treeOwner      .QueryInterface(nsIInterfaceRequestor)      .getInterface(nsIXULWindow)      .XULBrowserWindow = window.XULBrowserWindow;        gBrowser.addProgressListener(gBrowserStatusHandler, nsIWebProgress.NOTIFY_ALL);        window.QueryInterface(nsIDOMChromeWindow).browserDOMWindow =      new nsBrowserAccess();    gBrowser.webNavigation.sessionHistory =       Components.classes["@mozilla.org/browser/shistory;1"].createInstance(nsISHistory);        gBrowser.docShell.QueryInterface(nsIDocShellHistory).useGlobalHistory = true;        gGlobalHistory = Components.classes["@mozilla.org/browser/global-history;2"]      .getService(nsIBrowserHistory);        gURIFixup = Components.classes["@mozilla.org/docshell/urifixup;1"]      .getService(nsIURIFixup);        var bookmarkstore=null;         try {      gPref = Components.classes["@mozilla.org/preferences-service;1"]        .getService(nsIPrefBranch);            var page = gPref.getCharPref("browser.startup.homepage");      var bookmarkstore = gPref.getCharPref("browser.bookmark.store");            if (page != null)      {        var fixedUpURI = gURIFixup.createFixupURI(page, 2 /*fixup url*/ );        homepage = fixedUpURI.spec;      }    } catch (ignore) {}      } catch (e) {    alert("Error trying to startup browser.  Please report this as a bug:\n" + e);  }  var reg = Components.manager.QueryInterface(Components.interfaces.nsIComponentRegistrar);  reg.registerFactory(Components.ID("{fe4d6bd5-e4cd-45f9-95bd-1e1796d2c7f7}"),                       "Minimo Transfer Item",                       "@mozilla.org/transfer;1",                       new TransferItemFactory());  loadURI(homepage);  loadBookmarks(bookmarkstore);    /*   * Override the title attribute <title /> in this doc with a setter.   * This is our workaround solution so that when the tabbrowser::updateTitle   * tries to update this document's title, nothing happens. Bug 311564   */     document.__defineSetter__("title",function(x){}); // Stays with the titled defined by the XUL element.     gBrowser.addEventListener("DOMLinkAdded", BrowserLinkAdded, false);    /*   * We save the inputField (anonymous node within textbox urlbar) BoxObject, so we can measure its width    * on progress load   */  gURLBarBoxObject=(document.getBoxObjectFor(document.getElementById("urlbar").inputField));    /*    * Homebar init...   */     bmInitXUL(document,document.getElementById("homebarcontainer"));  document.getElementById("browserleftbar").style.display="block";  document.getElementById("browserleftbar").addEventListener("mousedown",HomebarHandler,true);    /*   * Local bundle repository   */  gMinimoBundle = document.getElementById("minimo_properties");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f7c42a6a0a92b2981db258d721fdfe1261ecadda/minimo.js/clean/minimo/chrome/content/minimo.js