mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 07:17:30 +09:00
Use the default value from 'browser.startup.homepage' instead of the hardcoded 'http://start.palemoon.org/'
This commit is contained in:
parent
84ae67b1bc
commit
758922c244
2 changed files with 7 additions and 2 deletions
|
|
@ -42,7 +42,9 @@ var gNewtabUrl = {
|
|||
newtabUrlPref = "about:logopage";
|
||||
break;
|
||||
case 2:
|
||||
newtabUrlPref = "http://start.palemoon.org/";
|
||||
newtabUrlPref = Services.prefs.getDefaultBranch("browser.")
|
||||
.getComplexValue("startup.homepage",
|
||||
Components.interfaces.nsIPrefLocalizedString).data;
|
||||
break;
|
||||
case 3:
|
||||
// If url is a pipe-delimited set of pages, just take the first one.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue