Date: 2020-08-18 Purpose: Use newmoon branding instead of palemoon ############################## Message: This changes the application to use ~/.config/newmoon instead of some other directory. diff -Naur palemoon/app/application.ini palemoon/app/application.ini.new --- Pale-Moon/palemoon/app/application.ini 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon/palemoon/app/application.ini.new 2020-08-18 19:28:30.840797999 -0400 @@ -20,9 +20,9 @@ [App] # Vendor=@MOZ_APP_VENDOR@ -Vendor=Moonchild Productions +Vendor=Config # Name=@MOZ_APP_BASENAME@ -Name=Pale Moon +Name=newmoon RemotingName=@MOZ_APP_REMOTINGNAME@ #ifdef MOZ_APP_DISPLAYNAME CodeName=@MOZ_APP_DISPLAYNAME@ ############################# Message: This set changes the name of the application. Made with approximately: $ cd Palemoon.new/palemoon/branding/unofficial $ sed -i -r -e 's/New Moon/newmoon/ig;' $( grep -l -riIE 'new moon' ) $ sed -i -r -e 's/pale/new/g;' newmoon.desktop diff -aur Pale-Moon/palemoon/branding/unofficial/branding.nsi Pale-Moon.new/palemoon/branding/unofficial/branding.nsi --- Pale-Moon/palemoon/branding/unofficial/branding.nsi 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon.new/palemoon/branding/unofficial/branding.nsi 2020-08-22 13:39:41.676568689 -0400 @@ -8,7 +8,7 @@ # BrandFullNameInternal is used for some registry and file system values # instead of BrandFullName and typically should not be modified. -!define BrandFullNameInternal "New Moon" +!define BrandFullNameInternal "newmoon" !define CompanyName "Moonchild Productions" !define URLInfoAbout "http://www.palemoon.org" !define URLUpdateInfo "http://www.palemoon.org" diff -aur Pale-Moon/palemoon/branding/unofficial/configure.sh Pale-Moon.new/palemoon/branding/unofficial/configure.sh --- Pale-Moon/palemoon/branding/unofficial/configure.sh 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon.new/palemoon/branding/unofficial/configure.sh 2020-08-22 13:39:41.676568689 -0400 @@ -2,4 +2,4 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -MOZ_APP_DISPLAYNAME="New Moon" +MOZ_APP_DISPLAYNAME="newmoon" diff -aur Pale-Moon/palemoon/branding/unofficial/locales/en-US/brand.dtd Pale-Moon.new/palemoon/branding/unofficial/locales/en-US/brand.dtd --- Pale-Moon/palemoon/branding/unofficial/locales/en-US/brand.dtd 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon.new/palemoon/branding/unofficial/locales/en-US/brand.dtd 2020-08-22 13:39:41.676568689 -0400 @@ -2,7 +2,7 @@ - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - - + + diff -aur Pale-Moon/palemoon/branding/unofficial/locales/en-US/brand.properties Pale-Moon.new/palemoon/branding/unofficial/locales/en-US/brand.properties --- Pale-Moon/palemoon/branding/unofficial/locales/en-US/brand.properties 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon.new/palemoon/branding/unofficial/locales/en-US/brand.properties 2020-08-22 13:39:41.676568689 -0400 @@ -2,8 +2,8 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -brandShortName=New Moon -brandFullName=New Moon +brandShortName=newmoon +brandFullName=newmoon vendorShortName=Moonchild syncBrandShortName=Sync diff -aur Pale-Moon/palemoon/branding/unofficial/newmoon.desktop Pale-Moon.new/palemoon/branding/unofficial/newmoon.desktop --- Pale-Moon/palemoon/branding/unofficial/newmoon.desktop 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon.new/palemoon/branding/unofficial/newmoon.desktop 2020-08-22 19:22:15.505363587 -0400 @@ -1,5 +1,5 @@ [Desktop Entry] -Name=New Moon +Name=newmoon GenericName=Web Browser GenericName[ar]=متصفح ويب GenericName[ast]=Restolador Web @@ -81,15 +81,15 @@ Comment[vi]=Để duyệt các trang web Comment[zh_CN]=浏览互联网 Comment[zh_TW]=瀏覽網際網路 -Exec=palemoon %u +Exec=newmoon %u Terminal=false Type=Application -Icon=palemoon +Icon=newmoon Categories=Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp; StartupNotify=false Actions=NewTab;NewWindow;NewPrivateWindow; -StartupWMClass="new moon" +StartupWMClass="newmoon" [Desktop Action NewTab] Name=Open new tab @@ -176,7 +176,7 @@ Name[xh]=Vula ithebhu entsha Name[zh_CN]=打开新标签页 Name[zh_TW]=開啟新分頁 -Exec=palemoon -new-tab +Exec=newmoon -new-tab [Desktop Action NewWindow] Name=Open new window @@ -263,7 +263,7 @@ Name[xh]=Vula iwindow entsha Name[zh_CN]=打开新窗口 Name[zh_TW]=開啟新視窗 -Exec=palemoon -new-window +Exec=newmoon -new-window [Desktop Action NewPrivateWindow] Name=New private window @@ -350,4 +350,4 @@ Name[xh]=Ifestile yangasese entsha Name[zh_CN]=新建隐私浏览窗口 Name[zh_TW]=新增隱私視窗 -Exec=palemoon -private-window +Exec=newmoon -private-window ####################################### Message: Fix the bookmarks I used newmoon itself to save a bookmark, and then export the bookmarks to an html file. Then I grabbed the relevant entries and placed them here. Also, I move the "Most Visited" link to bookmarks menu and not on the toolbar. diff -aur Pale-Moon/palemoon/locales/generic/profile/bookmarks.html.in Pale-Moon.new/palemoon/locales/generic/profile/bookmarks.html.in --- Pale-Moon/palemoon/locales/generic/profile/bookmarks.html.in 2020-08-23 07:27:49.208091003 -0400 +++ Pale-Moon.new/palemoon/locales/generic/profile/bookmarks.html.in 2020-08-23 07:28:41.640742172 -0400 @@ -11,9 +11,6 @@

@bookmarks_toolbarfolder@

@bookmarks_toolbarfolder_description@

-

Pale Moon -
Pale Moon forum -
F.A.Q. -
Release notes +
ddg

diff -aur Pale-Moon/palemoon/components/nsBrowserGlue.js Pale-Moon.new/palemoon/components/nsBrowserGlue.js --- Pale-Moon/palemoon/components/nsBrowserGlue.js 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon.new/palemoon/components/nsBrowserGlue.js 2020-08-23 07:49:00.679875713 -0400 @@ -1694,8 +1694,8 @@ uri: NetUtil.newURI("place:sort=" + Ci.nsINavHistoryQueryOptions.SORT_BY_VISITCOUNT_DESCENDING + "&maxResults=" + MAX_RESULTS), - parent: PlacesUtils.toolbarFolderId, - position: toolbarIndex++, + parent: PlacesUtils.bookmarksMenuFolderId, + position: menuIndex++, newInVersion: 1 }, RecentlyBookmarked: { ######################################### Message: hide some links to old site diff -aur Pale-Moon/palemoon/branding/shared/locales/browserconfig.properties Pale-Moon.new/palemoon/branding/shared/locales/browserconfig.properties --- Pale-Moon/palemoon/branding/shared/locales/browserconfig.properties 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon.new/palemoon/branding/shared/locales/browserconfig.properties 2020-08-23 16:19:42.056687930 -0400 @@ -3,5 +3,5 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # Do NOT localize or otherwise change these values -browser.startup.homepage=http://start.palemoon.org/ -browser.startup.homepage_reset=http://start.palemoon.org/ +browser.startup.homepage=https://start.duckduckgo.com/ +browser.startup.homepage_reset=https://start.duckduckgo.com/ diff -aur Pale-Moon/palemoon/branding/unofficial/pref/palemoon-branding.js Pale-Moon.new/palemoon/branding/unofficial/pref/palemoon-branding.js --- Pale-Moon/palemoon/branding/unofficial/pref/palemoon-branding.js 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon.new/palemoon/branding/unofficial/pref/palemoon-branding.js 2020-08-23 16:19:14.816356073 -0400 @@ -3,8 +3,8 @@ #include ../../shared/pref/preferences.inc #include ../../shared/pref/uaoverrides.inc -pref("startup.homepage_override_url","http://www.palemoon.org/unofficial.shtml"); -pref("app.releaseNotesURL", "http://www.palemoon.org/releasenotes.shtml"); +pref("startup.homepage_override_url",""); +pref("app.releaseNotesURL", ""); // Updates disabled pref("app.update.enabled", false); diff -aur Pale-Moon/palemoon/branding/shared/pref/preferences.inc Pale-Moon.new/palemoon/branding/shared/pref/preferences.inc --- Pale-Moon/palemoon/branding/shared/pref/preferences.inc 2020-07-30 06:09:43.000000000 -0400 +++ Pale-Moon.new/palemoon/branding/shared/pref/preferences.inc 2020-08-23 22:40:26.943771880 -0400 @@ -1,8 +1,8 @@ // ===| General |============================================================== -pref("startup.homepage_welcome_url","http://www.palemoon.org/firstrun.shtml"); +pref("startup.homepage_welcome_url",""); -pref("app.vendorURL", "http://www.palemoon.org/"); +pref("app.vendorURL", ""); // User Interface @@ -24,7 +24,7 @@ // ===| Add-ons Manager |====================================================== // Add-on window fixes -pref("extensions.getMoreThemesURL", "https://addons.palemoon.org/themes/"); +pref("extensions.getMoreThemesURL", ""); pref("extensions.update.autoUpdateDefault", true); // Automatically update extensions by default pref("extensions.getAddons.maxResults", 10); @@ -64,12 +64,12 @@ // ===| Sync |================================================================= // Pale Moon Sync server URLs -pref("services.sync.serverURL","https://pmsync.palemoon.org/sync/index.php/"); -pref("services.sync.jpake.serverURL","https://keyserver.palemoon.org/"); -pref("services.sync.termsURL", "http://www.palemoon.org/sync/terms.shtml"); -pref("services.sync.privacyURL", "http://www.palemoon.org/sync/privacy.shtml"); -pref("services.sync.statusURL", "https://pmsync.palemoon.org/status/"); -pref("services.sync.syncKeyHelpURL", "http://www.palemoon.org/sync/help/recoverykey.shtml"); +pref("services.sync.serverURL","https://localhost:9999/sync/index.php/"); +pref("services.sync.jpake.serverURL","https://localhost:9999/"); +pref("services.sync.termsURL", "http://localhost:9999/sync/terms.shtml"); +pref("services.sync.privacyURL", "http://localhost:9999/sync/privacy.shtml"); +pref("services.sync.statusURL", "https://localhost:9999/status/"); +pref("services.sync.syncKeyHelpURL", "http://localhost:9999/sync/help/recoverykey.shtml"); pref("services.sync.APILevel", 1); // FSyncMS doesn't support 'info/configuration' requests