Ticket #160 (closed enhancement: fixed)
Opened 6 years ago
Last modified 6 years ago
Change default web page
| Reported by: | scottmc | Owned by: | scottmc |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | www-client/mozilla-firefox | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The default webpage for Bezilla/Browser? pointed to an out-of-date page on mozilla.org, perhaps we can point it to something better than that?
Change History
comment:1 Changed 6 years ago by mmadia
- Type changed from defect to enhancement
comment:2 Changed 6 years ago by mmadia
This patch removes the outdated /firstrun url. It also replaces the /releasenotes url with about:buildconfig, which is more relevant for BeZilla? purposes. The /releasenotes url is accessible through Help-->Release Notes
I'm still looking for the other default page : http://www.mozilla.com/en-US/firefox/
--- browser/app/firefox-branding.js copy 2006-09-12 11:50:19.000000000 -0400
+++ browser/app/firefox-branding.js 2009-03-16 22:03:00.000000000 -0400
@@ -1,5 +1,4 @@
pref("startup.homepage_override_url","http://www.mozilla.org/projects/%APP%/%VERSION%/whatsnew/");
-pref("startup.homepage_welcome_url","http://www.mozilla.org/projects/%APP%/%VERSION%/firstrun/");
// URL user can browse to manually if for some reason all update installation
// attempts fail.
pref("app.update.url.manual", "http://www.mozilla.org/products/%APP%/");
@@ -8,7 +7,7 @@
pref("app.update.url.details", "http://www.mozilla.org/projects/%APP%/");
// Release notes URL
-pref("app.releaseNotesURL", "http://www.mozilla.org/projects/%APP%/%VERSION%/releasenotes/");
+pref("app.releaseNotesURL", "about:buildconfig");
// Search codes belong only in builds with official branding
pref("browser.search.param.yahoo-fr", "");
comment:3 Changed 6 years ago by mmadia
mozilla/browser/base/content/browserconfig.properties contained the other default startup page. It was actually stored as " http://www.mozilla.org/projects/bonecho/" and redirected to http://www.mozilla.com/en-US/firefox/
The startup page now points to http://www.haiku-os.org/community
I'm open to suggestions for a better startup page.
direct link to patches:
firstrun patch,
other startup page patch
comment:4 Changed 6 years ago by mmadia
- Resolution set to fixed
- Status changed from new to closed
Removed additional urls from firstrun patch.
For now, I'm content having www.haiku-os.org/community as the default startpage.
If a better start page is ever created at haiku-os, I'll update the patch to reflect it.
closing ticket.
comment:5 Changed 6 years ago by mmadia
humdinger suggested using : file:///boot/beos/documentation/welcome/welcome.html
currently the documentation is an OptionalPackage?, so i will not be using file:// by default. once the page is available as http://, i'm willing to include it. possibly as a first-run or homepage.
comment:6 Changed 6 years ago by scottmc
You "could" just make the welcome package a dependency of bezilla, you might look into the dependency thing anyways as it looks like netsurf and one or two others pull in openssl, doesn't bezilla need that as well?
Plus by pointing the default page to a page on the PC it will even work for when there's no net connection. Just a thought.
comment:7 Changed 6 years ago by mmadia
I don't like the idea of the resolving dependencies in OptionalPackages?. If someone downloads BeZillaBrowser? separately on an image w/o the Welcome package, things would break.
*if* the welcome package is included in all builds of Haiku, then I'd gladly point to file://
comment:8 Changed 6 years ago by mmadia
Adrian: pref("startup.homepage_override_url"," http://www.mozilla.org/projects/%APP%/%VERSION%/whatsnew/"); seems unnecessary
me: i couldn't find how to pull that page up, so i left it :)
probably no harm in removing it.
Adrian: I've found this "When a user starts up their browser after upgrading (i.e., if browser.startup.homepage_override.mstone is different than the last time the browser started), the URL specified in this preference is loaded instead of their homepage."
comment:9 Changed 6 years ago by mmadia
Updated the patch to be : http://ports.haiku-files.org/export/334/haikuports/trunk/www-client/mozilla-firefox/firstrun-default-page.diff
mmadia * r333 /haikuports/trunk/www-client/mozilla-firefox/firstrun-default-page.diff:
Created actual cvs patch for #160.
The default homepage is now set to :
http://svn.berlios.de/svnroot/repos/haiku/haiku/trunk/docs/welcome/welcome.html
This allows the user to browse the most current up-to-date documentation.

mozilla/browser/app/firefox-branding.js seems to be the culprit.
http://mxr.mozilla.org/mozilla1.8/source/browser/app/firefox-branding.js
pref("startup.homepage_override_url","http://www.mozilla.org/projects/%APP%/%VERSION%/whatsnew/"); pref("startup.homepage_welcome_url","http://www.mozilla.org/projects/%APP%/%VERSION%/firstrun/"); // URL user can browse to manually if for some reason all update installation // attempts fail. pref("app.update.url.manual", "http://www.mozilla.org/products/%APP%/"); // A default value for the "More information about this update" link // supplied in the "An update is available" page of the update wizard. pref("app.update.url.details", "http://www.mozilla.org/projects/%APP%/"); // Release notes URL pref("app.releaseNotesURL", "http://www.mozilla.org/projects/%APP%/%VERSION%/releasenotes/"); // Search codes belong only in builds with official branding pref("browser.search.param.yahoo-fr", ""); pref("browser.search.param.yahoo-fr-cjkt", ""); pref("browser.search.param.yahoo-f-CN", "");